Browse Source

Merge "Fix create_port new API policy roles" into stable/wallaby

changes/93/785093/1
Zuul 2 weeks ago
committed by Gerrit Code Review
parent
commit
79dd92caf0
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      neutron/conf/policies/port.py

+ 2
- 2
neutron/conf/policies/port.py View File

@ -51,7 +51,7 @@ rules = [
policy.DocumentedRuleDefault(
name='create_port',
check_str=base.PROJECT_MEMBER,
check_str=base.SYSTEM_ADMIN_OR_PROJECT_MEMBER,
scope_types=['system', 'project'],
description='Create a port',
operations=ACTION_POST,
@ -211,7 +211,7 @@ rules = [
),
policy.DocumentedRuleDefault(
name='create_port:binding:vnic_type',
check_str=base.PROJECT_MEMBER,
check_str=base.SYSTEM_ADMIN_OR_PROJECT_MEMBER,
scope_types=['project'],
description=(
'Specify ``binding:vnic_type`` '


Loading…
Cancel
Save