Merge "Add new default roles in os-assisted_volume_snapshots policies"

This commit is contained in:
Zuul
2020-03-03 00:23:20 +00:00
committed by Gerrit Code Review

View File

@@ -24,7 +24,7 @@ POLICY_ROOT = 'os_compute_api:os-assisted-volume-snapshots:%s'
assisted_volume_snapshots_policies = [
policy.DocumentedRuleDefault(
name=POLICY_ROOT % 'create',
check_str=base.RULE_ADMIN_API,
check_str=base.SYSTEM_ADMIN,
description="Create an assisted volume snapshot",
operations=[
{
@@ -35,7 +35,7 @@ assisted_volume_snapshots_policies = [
scope_types=['system']),
policy.DocumentedRuleDefault(
name=POLICY_ROOT % 'delete',
check_str=base.RULE_ADMIN_API,
check_str=base.SYSTEM_ADMIN,
description="Delete an assisted volume snapshot",
operations=[
{