Browse Source

policy.json modification for L2gateway API

Rules modified to admin_only for all l2gateway operation

Change-Id: I98b050b160554a1446063da37348e0452a1270b1
stable/ocata
Selvakumar S 7 years ago
parent
commit
d9852b532a
  1. 13
      etc/policy.json

13
etc/policy.json

@ -4,13 +4,12 @@
"create_l2_gateway": "rule:admin_only",
"update_l2_gateway": "rule:admin_only",
"get_l2_gateway": "rule:admin_or_owner",
"delete_l2_gateway": "rule:admin_or_owner",
"get_l2_gateways": "rule:admin_or_owner",
"get_l2_gateway": "rule:admin_only",
"delete_l2_gateway": "rule:admin_only",
"get_l2_gateways": "rule:admin_only",
"create_l2_gateway_connection": "rule:admin_only",
"update_l2_gateway_connection": "rule:admin_only",
"get_l2_gateway_connections": "rule:admin_or_owner",
"get_l2_gateway_connection": "rule:admin_or_owner",
"delete_l2_gateway_connection": "rule:admin_or_owner"
"get_l2_gateway_connections": "rule:admin_only",
"get_l2_gateway_connection": "rule:admin_only",
"delete_l2_gateway_connection": "rule:admin_only"
}
Loading…
Cancel
Save