Skip to content

Commit

Permalink
Adds default roles for Snapshot Management plugin (#1897)
Browse files Browse the repository at this point in the history
Signed-off-by: Clay Downs <[email protected]>
  • Loading branch information
downsrob authored Jun 23, 2022
1 parent 8393c71 commit 7f5ca53
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions securityconfig/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 7f5ca53

Please sign in to comment.