Skip to content

Commit

Permalink
Add readonly API to security plugin (opensearch-project#2966)
Browse files Browse the repository at this point in the history
* Add readonly API to security plugin

Signed-off-by: zane-neo <[email protected]>

* Change the order of permission list

Signed-off-by: zane-neo <[email protected]>

---------

Signed-off-by: zane-neo <[email protected]>
  • Loading branch information
zane-neo authored Jul 10, 2023
1 parent 9e6aab3 commit 4409701
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/roles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,8 @@ cross_cluster_search_remote_full_access:
ml_read_access:
reserved: true
cluster_permissions:
- 'cluster:admin/opensearch/ml/connectors/get'
- 'cluster:admin/opensearch/ml/connectors/search'
- 'cluster:admin/opensearch/ml/model_groups/search'
- 'cluster:admin/opensearch/ml/models/get'
- 'cluster:admin/opensearch/ml/models/search'
Expand Down

0 comments on commit 4409701

Please sign in to comment.