Browse Source

Merge "Fix new API policies for RBAC"

changes/02/787702/1
Zuul 2 months ago
committed by Gerrit Code Review
parent
commit
524d783941
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      neutron/conf/policies/rbac.py

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

@ -53,7 +53,7 @@ rules = [
name='create_rbac_policy:target_tenant',
check_str=base.policy_or(
base.SYSTEM_ADMIN,
'rule:restrict_wildcard'),
'(not field:rbac_policy:target_tenant=*)'),
description='Specify ``target_tenant`` when creating an RBAC policy',
operations=[
{
@ -89,7 +89,7 @@ rules = [
name='update_rbac_policy:target_tenant',
check_str=base.policy_or(
base.SYSTEM_ADMIN,
'rule:restrict_wildcard'),
'(not field:rbac_policy:target_tenant=*)'),
description='Update ``target_tenant`` attribute of an RBAC policy',
operations=[
{


Loading…
Cancel
Save