summaryrefslogtreecommitdiff
path: root/nova/policies/extended_server_attributes.py
diff options
context:
space:
mode:
Diffstat (limited to 'nova/policies/extended_server_attributes.py')
-rw-r--r--nova/policies/extended_server_attributes.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/policies/extended_server_attributes.py b/nova/policies/extended_server_attributes.py
index 93444219ff..ba151a36cc 100644
--- a/nova/policies/extended_server_attributes.py
+++ b/nova/policies/extended_server_attributes.py
@@ -24,7 +24,7 @@ BASE_POLICY_NAME = 'os_compute_api:os-extended-server-attributes'
extended_server_attributes_policies = [
policy.DocumentedRuleDefault(
name=BASE_POLICY_NAME,
- check_str=base.SYSTEM_ADMIN,
+ check_str=base.ADMIN,
description="""Return extended attributes for server.
This rule will control the visibility for a set of servers attributes:
@@ -66,7 +66,7 @@ is therefore deprecated and will be removed in a future release.
'path': '/servers/{server_id}/action (rebuild)'
}
],
- scope_types=['system', 'project']
+ scope_types=['project']
),
]