summaryrefslogtreecommitdiffstats
path: root/etc/policy.json
diff options
context:
space:
mode:
authorHenry Nash <henryn@linux.vnet.ibm.com>2013-06-21 22:50:40 +0100
committerHenry Nash <henryn@linux.vnet.ibm.com>2013-07-03 21:30:09 +0100
commitfa10d4945ca9658eff02b1d8e917fde50d6576ce (patch)
treeb5c50890695d8a503dc130a5c219cf543051cc2c /etc/policy.json
parent62d948a66b27ad2622a324bd9a070346f7b607d2 (diff)
downloadkeystone-fa10d4945ca9658eff02b1d8e917fde50d6576ce.tar.gz
keystone-fa10d4945ca9658eff02b1d8e917fde50d6576ce.tar.xz
keystone-fa10d4945ca9658eff02b1d8e917fde50d6576ce.zip
Implement GET /role_assignment API call
Add support for the GET /role_assignment call as a first step to making role_assignment a first class entity. This patch also enables v3 collection filtering to match against attributes of entities being returned in the list, using the same dot notation (e.g. user.id) that we already support for policy file checking against filters. Limitations: - The current implementation uses the standard v3 collections wrapper mechanism for filtering. Given the potential numbers of role assignments in a large system, this may have performance and resource impacts. A future improvement would pass the filters into the driver layer to keep the internal assignment processing to a minimum. - The LDAP backend is not currently supported Implements bp get-role-assignments Change-Id: I6ff2ea780e39d7097a88214fbb3ddee1b924c30c
Diffstat (limited to 'etc/policy.json')
-rw-r--r--etc/policy.json2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/policy.json b/etc/policy.json
index 4aad4e8c..2c82f994 100644
--- a/etc/policy.json
+++ b/etc/policy.json
@@ -66,6 +66,8 @@
"identity:create_grant": [["rule:admin_required"]],
"identity:revoke_grant": [["rule:admin_required"]],
+ "identity:list_role_assignments": [["rule:admin_required"]],
+
"identity:get_policy": [["rule:admin_required"]],
"identity:list_policies": [["rule:admin_required"]],
"identity:create_policy": [["rule:admin_required"]],