Skip to content

Commit

Permalink
Adds default roles for Snapshot Management plugin (#1897) (#1916)
Browse files Browse the repository at this point in the history
Signed-off-by: Clay Downs <[email protected]>
(cherry picked from commit 7f5ca53)

Co-authored-by: Clay Downs <[email protected]>
  • Loading branch information
DarshitChanpura and downsrob authored Jun 27, 2022
1 parent d09aa82 commit 043360c
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions config/roles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -227,3 +227,22 @@ notifications_read_access:
- 'cluster:admin/opensearch/notifications/configs/get'
- 'cluster:admin/opensearch/notifications/features'
- 'cluster:admin/opensearch/notifications/channels/get'

# Allows users to use all snapshot management functionality
snapshot_management_full_access:
reserved: true
cluster_permissions:
- 'cluster:admin/opensearch/snapshot_management/*'
- 'cluster:admin/opensearch/notifications/feature/publish'
- 'cluster:admin/repository/*'
- 'cluster:admin/snapshot/*'

# Allows users to see snapshots, repositories, and snapshot management policies
snapshot_management_read_access:
reserved: true
cluster_permissions:
- 'cluster:admin/opensearch/snapshot_management/policy/get'
- 'cluster:admin/opensearch/snapshot_management/policy/search'
- 'cluster:admin/opensearch/snapshot_management/policy/explain'
- 'cluster:admin/repository/get'
- 'cluster:admin/snapshot/get'

0 comments on commit 043360c

Please sign in to comment.