Skip to content

Commit 3e9b0fe

Browse files
[Backport 2.x] Added roles for ltr read and full access (opensearch-project#5070)
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>
1 parent e44c5f8 commit 3e9b0fe

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

config/roles.yml

+14
Original file line numberDiff line numberDiff line change
@@ -456,3 +456,17 @@ query_insights_full_access:
456456
- 'top_queries_by_*'
457457
allowed_actions:
458458
- "indices_all"
459+
460+
# Allow users to execute read only LTR actions
461+
ltr_read_access:
462+
reserved: true
463+
cluster_permissions:
464+
- cluster:admin/ltr/caches/stats
465+
- cluster:admin/ltr/featurestore/list
466+
- cluster:admin/ltr/stats
467+
468+
# Allow users to execute all LTR actions
469+
ltr_full_access:
470+
reserved: true
471+
cluster_permissions:
472+
- cluster:admin/ltr/*

0 commit comments

Comments
 (0)