Merge "Remove endpoint policies from policy.v3cloudsample.json"

This commit is contained in:
Zuul 2019-03-01 21:29:45 +00:00 committed by Gerrit Code Review
commit 60ae125107
3 changed files with 20 additions and 6 deletions

View File

@ -16,12 +16,6 @@
"identity:update_service": "rule:cloud_admin",
"identity:delete_service": "rule:cloud_admin",
"identity:get_endpoint": "rule:admin_required",
"identity:list_endpoints": "rule:admin_required",
"identity:create_endpoint": "rule:cloud_admin",
"identity:update_endpoint": "rule:cloud_admin",
"identity:delete_endpoint": "rule:cloud_admin",
"identity:get_limit_model": "",
"identity:get_limit": "",
"identity:list_limits": "",

View File

@ -206,6 +206,11 @@ class PolicyJsonTestCase(unit.TestCase):
'identity:list_regions',
'identity:update_region',
'identity:delete_region',
'identity:create_endpoint',
'identity:get_endpoint',
'identity:list_endpoints',
'identity:update_endpoint',
'identity:delete_endpoint',
'identity:create_mapping',
'identity:get_mapping',
'identity:list_mappings',

View File

@ -0,0 +1,15 @@
---
upgrade:
- |
[`bug 1804482 <https://bugs.launchpad.net/keystone/+bug/1804482>`_]
The endpoint policies defined in ``policy.v3cloudsample.json`` have
been removed. These policies are now obsolete after incorporating
system-scope into the endpoint API and implementing default roles.
fixes:
- |
[`bug 1804482 <https://bugs.launchpad.net/keystone/+bug/1804482>`_]
The endpoint policies in ``policy.v3cloudsample.json`` policy file
have been removed in favor of better defaults in code. These
policies weren't tested exhaustively and were misleading to users
and operators.