diff options
Diffstat (limited to 'nova/policies/limits.py')
-rw-r--r-- | nova/policies/limits.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nova/policies/limits.py b/nova/policies/limits.py index efe430c237..1216dd1995 100644 --- a/nova/policies/limits.py +++ b/nova/policies/limits.py @@ -46,10 +46,10 @@ limits_policies = [ 'path': '/limits' } ], - scope_types=['system', 'project']), + scope_types=['project']), policy.DocumentedRuleDefault( name=OTHER_PROJECT_LIMIT_POLICY_NAME, - check_str=base.SYSTEM_READER, + check_str=base.ADMIN, description="""Show rate and absolute limits of other project. This policy only checks if the user has access to the requested @@ -61,7 +61,7 @@ os_compute_api:limits passes""", 'path': '/limits' } ], - scope_types=['system'], + scope_types=['project'], deprecated_rule=DEPRECATED_POLICY), ] |