Skip to content

Commit 784351a

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "Fix cluster template default policy"
2 parents c7c62bf + 8ca92e6 commit 784351a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

magnum/common/policies/cluster_template.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
),
3232
policy.DocumentedRuleDefault(
3333
name=CLUSTER_TEMPLATE % 'delete',
34-
check_str=base.RULE_DENY_CLUSTER_USER,
34+
check_str=base.RULE_ADMIN_OR_OWNER,
3535
description='Delete a cluster template.',
3636
operations=[
3737
{
@@ -121,7 +121,7 @@
121121
),
122122
policy.DocumentedRuleDefault(
123123
name=CLUSTER_TEMPLATE % 'update',
124-
check_str=base.RULE_DENY_CLUSTER_USER,
124+
check_str=base.RULE_ADMIN_OR_OWNER,
125125
description='Update an existing cluster template.',
126126
operations=[
127127
{

0 commit comments

Comments
 (0)