Skip to content

Commit df93ff4

Browse files
Added roles for ltr read and full access (opensearch-project#5067)
Signed-off-by: rithin-pullela-aws <rithinp@amazon.com>
1 parent ca5eb23 commit df93ff4

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)