Skip to content

Commit

Permalink
[Backport 2.x] Added roles for ltr read and full access (#5070)
Browse files Browse the repository at this point in the history
Signed-off-by: rithin-pullela-aws <rithinp@amazon.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
1 parent e44c5f8 commit 3e9b0fe
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions config/roles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -456,3 +456,17 @@ query_insights_full_access:
- 'top_queries_by_*'
allowed_actions:
- "indices_all"

# Allow users to execute read only LTR actions
ltr_read_access:
reserved: true
cluster_permissions:
- cluster:admin/ltr/caches/stats
- cluster:admin/ltr/featurestore/list
- cluster:admin/ltr/stats

# Allow users to execute all LTR actions
ltr_full_access:
reserved: true
cluster_permissions:
- cluster:admin/ltr/*

0 comments on commit 3e9b0fe

Please sign in to comment.