summaryrefslogtreecommitdiff
path: root/nova/policies/tenant_networks.py
diff options
context:
space:
mode:
Diffstat (limited to 'nova/policies/tenant_networks.py')
-rw-r--r--nova/policies/tenant_networks.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/nova/policies/tenant_networks.py b/nova/policies/tenant_networks.py
index a3eace29b4..79f8d21eaa 100644
--- a/nova/policies/tenant_networks.py
+++ b/nova/policies/tenant_networks.py
@@ -38,7 +38,7 @@ DEPRECATED_POLICY = policy.DeprecatedRule(
tenant_networks_policies = [
policy.DocumentedRuleDefault(
name=POLICY_NAME % 'list',
- check_str=base.PROJECT_READER_OR_SYSTEM_READER,
+ check_str=base.PROJECT_READER_OR_ADMIN,
description="""List project networks.
This API is proxy calls to the Network service. This is deprecated.""",
@@ -48,11 +48,11 @@ This API is proxy calls to the Network service. This is deprecated.""",
'path': '/os-tenant-networks'
},
],
- scope_types=['system', 'project'],
+ scope_types=['project'],
deprecated_rule=DEPRECATED_POLICY),
policy.DocumentedRuleDefault(
name=POLICY_NAME % 'show',
- check_str=base.PROJECT_READER_OR_SYSTEM_READER,
+ check_str=base.PROJECT_READER_OR_ADMIN,
description="""Show project network details.
This API is proxy calls to the Network service. This is deprecated.""",
@@ -62,7 +62,7 @@ This API is proxy calls to the Network service. This is deprecated.""",
'path': '/os-tenant-networks/{network_id}'
},
],
- scope_types=['system', 'project'],
+ scope_types=['project'],
deprecated_rule=DEPRECATED_POLICY),
]