Skip to content

Commit

Permalink
CRUD on flavor extra spec extension should be admin-only
Browse files Browse the repository at this point in the history
Changes the default policy.json file to make the flavor extra
spec create/update/delete operations admin-only, since the
flavormanage extension is admin-only.

fixes: lp bug #1094142

Change-Id: Ic464b17130e76565a7c475e59064e3e3e8861327
  • Loading branch information
jaypipes committed Dec 30, 2012
1 parent bde5420 commit aee1253
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion etc/nova/policy.json
Expand Up @@ -46,7 +46,11 @@
"compute_extension:flavor_rxtx": "",
"compute_extension:flavor_swap": "",
"compute_extension:flavorextradata": "",
"compute_extension:flavorextraspecs": "",
"compute_extension:flavorextraspecs:index": "",
"compute_extension:flavorextraspecs:show": "",
"compute_extension:flavorextraspecs:create": "rule:admin_api",
"compute_extension:flavorextraspecs:update": "rule:admin_api",
"compute_extension:flavorextraspecs:delete": "rule:admin_api",
"compute_extension:flavormanage": "rule:admin_api",
"compute_extension:floating_ip_dns": "",
"compute_extension:floating_ip_pools": "",
Expand Down

0 comments on commit aee1253

Please sign in to comment.