Align policy.json with code
Snapshot policy is named inconsistently. Fixing this in the code would cause a migration conflict since both "share:create_snapshot" and "share_snapshot:create_snapshot" need to be supported. Instead this fixes only policy.json Change-Id: I5869f53ac5086d7411dc3553b4cf88423b7524f5 Closes-bug: #1666498
This commit is contained in:
parent
767be0a8b9
commit
87f9a81b75
@ -53,11 +53,11 @@
|
||||
"share_instance_export_location:index": "rule:admin_api",
|
||||
"share_instance_export_location:show": "rule:admin_api",
|
||||
|
||||
"share_snapshot:create_snapshot": "rule:default",
|
||||
"share_snapshot:delete_snapshot": "rule:default",
|
||||
"share:create_snapshot": "rule:default",
|
||||
"share:delete_snapshot": "rule:default",
|
||||
"share:snapshot_update": "rule:default",
|
||||
"share_snapshot:get_snapshot": "rule:default",
|
||||
"share_snapshot:get_all_snapshots": "rule:default",
|
||||
"share_snapshot:snapshot_update": "rule:default",
|
||||
"share_snapshot:manage_snapshot": "rule:admin_api",
|
||||
"share_snapshot:unmanage_snapshot": "rule:admin_api",
|
||||
"share_snapshot:force_delete": "rule:admin_api",
|
||||
|
4
releasenotes/notes/fix_policy_file-4a382ac241c718c6.yaml
Normal file
4
releasenotes/notes/fix_policy_file-4a382ac241c718c6.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
---
|
||||
fixes:
|
||||
- Adapted policy.json file to correct snapshot policy values.
|
||||
|
Loading…
x
Reference in New Issue
Block a user