make uploading an image as public admin only by default

Uploading an image with --is-public=True should by default only be allowed
by an admin tenant. Allowing anyone to upload an image as is_public is likely
a security concern. This changes the previous default behavior glance had
of allowing anyone to upload an image as is_public previously by default.

DocImpact
Closes-bug: 1317314

Change-Id: I60d2257115e9207e09b50d9f950076b7fe8237d7
This commit is contained in:
Aaron Rosen 2014-05-07 17:49:04 -07:00
parent 5f04cce154
commit 96169ab5a0

View File

@ -7,7 +7,7 @@
"get_image": "",
"get_images": "",
"modify_image": "",
"publicize_image": "",
"publicize_image": "role:admin",
"copy_from": "",
"download_image": "",