diff --git a/doc/source/policies.rst b/doc/source/policies.rst index aa1d66c0fe..3aacdb4e9a 100644 --- a/doc/source/policies.rst +++ b/doc/source/policies.rst @@ -56,6 +56,11 @@ The actions that may have a rule enforced on them are: * ``PUT /v1/images/`` * ``PUT /v2/images//file`` +* ``copy_from`` - Copy binary image data from URL + + * ``POST /v1/images`` + * ``PUT /v1/images/`` + * ``add_image`` - Create an image entity * ``POST /v1/images`` diff --git a/etc/policy.json b/etc/policy.json index 310679a2de..d8f0a78cb6 100644 --- a/etc/policy.json +++ b/etc/policy.json @@ -8,6 +8,7 @@ "get_images": "", "modify_image": "", "publicize_image": "", + "copy_from": "", "download_image": "", "upload_image": "", diff --git a/glance/tests/etc/policy.json b/glance/tests/etc/policy.json index 4d27cdc385..851a2b752c 100644 --- a/glance/tests/etc/policy.json +++ b/glance/tests/etc/policy.json @@ -9,6 +9,7 @@ "get_images": "", "modify_image": "", "publicize_image": "", + "copy_from": "", "download_image": "", "upload_image": "",