Introduce scope_types in security_groups policy
Appropriate scope_type for nova case: - https://specs.openstack.org/openstack/nova-specs/specs/ussuri/approved/policy-defaults-refresh.html#scope This commit introduce scope_type for security_groups policies as 'system' and 'project' Partial implement blueprint policy-defaults-refresh-deprecated-apis Change-Id: Ibf6ba7da4bd8a3b9b3c7b112828959c2ff2b3f73
This commit is contained in:
parent
80156827ed
commit
2939847226
|
@ -64,7 +64,8 @@ APIs are deprecated.""",
|
|||
'method': 'DELETE',
|
||||
'path': '/os-security-groups/{security_group_id}'
|
||||
},
|
||||
]),
|
||||
],
|
||||
scope_types=['system', 'project']),
|
||||
policy.DocumentedRuleDefault(
|
||||
name=POLICY_NAME % 'list',
|
||||
check_str=base.PROJECT_READER_OR_SYSTEM_READER,
|
||||
|
|
Loading…
Reference in New Issue