Merge "Fix cluster template default policy"

This commit is contained in:
Zuul 2021-11-26 10:39:22 +00:00 committed by Gerrit Code Review
commit 784351af4e
1 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ rules = [
),
policy.DocumentedRuleDefault(
name=CLUSTER_TEMPLATE % 'delete',
check_str=base.RULE_DENY_CLUSTER_USER,
check_str=base.RULE_ADMIN_OR_OWNER,
description='Delete a cluster template.',
operations=[
{
@ -121,7 +121,7 @@ rules = [
),
policy.DocumentedRuleDefault(
name=CLUSTER_TEMPLATE % 'update',
check_str=base.RULE_DENY_CLUSTER_USER,
check_str=base.RULE_ADMIN_OR_OWNER,
description='Update an existing cluster template.',
operations=[
{