summaryrefslogtreecommitdiff
path: root/nova/policies/remote_consoles.py
diff options
context:
space:
mode:
Diffstat (limited to 'nova/policies/remote_consoles.py')
-rw-r--r--nova/policies/remote_consoles.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/policies/remote_consoles.py b/nova/policies/remote_consoles.py
index 68858e8b93..e32dd33d4c 100644
--- a/nova/policies/remote_consoles.py
+++ b/nova/policies/remote_consoles.py
@@ -24,7 +24,7 @@ BASE_POLICY_NAME = 'os_compute_api:os-remote-consoles'
remote_consoles_policies = [
policy.DocumentedRuleDefault(
name=BASE_POLICY_NAME,
- check_str=base.PROJECT_MEMBER_OR_SYSTEM_ADMIN,
+ check_str=base.PROJECT_MEMBER_OR_ADMIN,
description="""Generate a URL to access remove server console.
This policy is for ``POST /remote-consoles`` API and below Server actions APIs
@@ -56,7 +56,7 @@ are deprecated:
'path': '/servers/{server_id}/remote-consoles'
},
],
- scope_types=['system', 'project']),
+ scope_types=['project']),
]