diff options
author | Slawek Kaplonski <skaplons@redhat.com> | 2021-04-23 12:50:56 +0200 |
---|---|---|
committer | Slawek Kaplonski <skaplons@redhat.com> | 2021-04-23 12:50:56 +0200 |
commit | ca2091d5a9c9c3e99afc386b7f3c334951c8f16e (patch) | |
tree | 9ab2b830e50e88405ed50558a49642882919295b /neutron | |
parent | c0e917505ee54b735dbccaf6a79293d0e5476c16 (diff) | |
download | neutron-ca2091d5a9c9c3e99afc386b7f3c334951c8f16e.tar.gz |
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
Diffstat (limited to 'neutron')
-rw-r--r-- | neutron/conf/policies/floatingip_pools.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/neutron/conf/policies/floatingip_pools.py b/neutron/conf/policies/floatingip_pools.py index e05d92265d..9efdcdc251 100644 --- a/neutron/conf/policies/floatingip_pools.py +++ b/neutron/conf/policies/floatingip_pools.py @@ -29,7 +29,7 @@ rules = [ 'path': '/floatingip_pools', }, ], - scope_types=['admin', 'project'], + scope_types=['system', 'project'], deprecated_rule=policy.DeprecatedRule( name='get_floatingip_pool', check_str=base.RULE_ANY, |