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.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/policies/tenant_networks.py b/nova/policies/tenant_networks.py
index ee5bd66cdf..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,
+ check_str=base.PROJECT_READER_OR_ADMIN,
description="""List project networks.
This API is proxy calls to the Network service. This is deprecated.""",
@@ -52,7 +52,7 @@ This API is proxy calls to the Network service. This is deprecated.""",
deprecated_rule=DEPRECATED_POLICY),
policy.DocumentedRuleDefault(
name=POLICY_NAME % 'show',
- check_str=base.PROJECT_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.""",