summaryrefslogtreecommitdiff
path: root/keystone/tests/unit/test_policy.py
diff options
context:
space:
mode:
authorVishakha Agarwal <agarwalvishakha18@gmail.com>2019-03-05 13:00:55 +0530
committerLance Bragstad <lbragstad@gmail.com>2019-03-25 18:02:01 +0000
commit64a455ef94c685d48605c0c40db37c2226707f57 (patch)
treeab0343d9f881756e8e57670a3663a93e1a80d420 /keystone/tests/unit/test_policy.py
parent954b97666937b8ef14fd1510636af4d8e456e918 (diff)
downloadkeystone-64a455ef94c685d48605c0c40db37c2226707f57.tar.gz
Remove assignment policies from policy.v3cloudsample.json
By incorporating system-scope and default roles, we've effectively made these policies obsolete. We can simplify what we maintain and provide a more consistent, unified view of default service behavior by removing them. This commit also removes some redundant tests in test_v3_protection or corrects them. Partial-Bug: 1806762 Change-Id: I008aed9c01b9e834a197444ff2dc1f6eb1ba25b1
Diffstat (limited to 'keystone/tests/unit/test_policy.py')
-rw-r--r--keystone/tests/unit/test_policy.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/keystone/tests/unit/test_policy.py b/keystone/tests/unit/test_policy.py
index 9462ba2ec..ad62deb68 100644
--- a/keystone/tests/unit/test_policy.py
+++ b/keystone/tests/unit/test_policy.py
@@ -235,7 +235,8 @@ class PolicyJsonTestCase(unit.TestCase):
'identity:get_service',
'identity:list_services',
'identity:update_service',
- 'identity:delete_service'
+ 'identity:delete_service',
+ 'identity:list_role_assignments'
]
policy_keys = self._get_default_policy_rules()
for p in removed_policies: