Change wrong "admin" scope in floatingip_pools to correct "system"

Scope "admin" was added there probably by mistake during the migration
to the new RBAC policies. It should be "system" instead and this patch
fixes it.

Partially-Implements blueprint: secure-rbac-roles

Change-Id: Ied35389ce7ab3dda9ff99046ea19a18406e0e2ce
This commit is contained in:
Slawek Kaplonski 2021-04-23 12:50:56 +02:00
parent c0e917505e
commit ca2091d5a9
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ rules = [
'path': '/floatingip_pools', 'path': '/floatingip_pools',
}, },
], ],
scope_types=['admin', 'project'], scope_types=['system', 'project'],
deprecated_rule=policy.DeprecatedRule( deprecated_rule=policy.DeprecatedRule(
name='get_floatingip_pool', name='get_floatingip_pool',
check_str=base.RULE_ANY, check_str=base.RULE_ANY,