Andrew Bogott has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/219298

Change subject: Enable instance creation/deletion/start/stop on Horizon
......................................................................

Enable instance creation/deletion/start/stop on Horizon

Change-Id: I12607e95aaf33e91952cafa7a96670e04f6afd36
---
M modules/openstack/files/icehouse/horizon/nova_policy.json
1 file changed, 4 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/98/219298/1

diff --git a/modules/openstack/files/icehouse/horizon/nova_policy.json 
b/modules/openstack/files/icehouse/horizon/nova_policy.json
index 30304d3..ce1502a 100644
--- a/modules/openstack/files/icehouse/horizon/nova_policy.json
+++ b/modules/openstack/files/icehouse/horizon/nova_policy.json
@@ -3,12 +3,12 @@
     "admin_or_owner":  [["is_admin:True"], ["project_id:%(project_id)s"]],
     "default": [["rule:admin_or_owner"]],
 
-    "compute:create": "role:admin",
-    "compute:delete": "role:admin",
+    "compute:create": "rule:admin_or_owner",
+    "compute:delete": "rule:admin_or_owner",
     "compute:create:attach_network": "role:admin",
     "compute:create:attach_volume": "role:admin",
-    "compute:start": "rule:admin",
-    "compute:stop": "rule:admin",
+    "compute:start": "rule:admin_or_owner",
+    "compute:stop": "rule:admin_or_owner",
     "compute:snapshot": "!",
     "compute:get_all": [],
 

-- 
To view, visit https://gerrit.wikimedia.org/r/219298
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I12607e95aaf33e91952cafa7a96670e04f6afd36
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Andrew Bogott <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to