Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- Github workflow for changelog verification ([#5318](https://github.com/opensearch-project/security/pull/5318))
- Register cluster settings listener for `plugins.security.cache.ttl_minutes` ([#5324](https://github.com/opensearch-project/security/pull/5324))
- Add flush cache endpoint for individual user ([#5337](https://github.com/opensearch-project/security/pull/5337))
- Integrate search-relevance functionalities with security plugin ([#5376](https://github.com/opensearch-project/security/pull/5376))

### Changed
- Use extendedPlugins in integrationTest framework for sample resource plugin testing ([#5322](https://github.com/opensearch-project/security/pull/5322))
Expand Down
21 changes: 21 additions & 0 deletions config/roles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -471,3 +471,24 @@ ltr_full_access:
reserved: true
cluster_permissions:
- cluster:admin/ltr/*

# Allow users to use all Search Relevance functionalities
search_relevance_full_access:
reserved: true
cluster_permissions:
- 'cluster:admin/opensearch/search_relevance/*'
index_permissions:
- index_patterns:
- '*'
allowed_actions:
- 'indices:admin/mappings/get'
- 'indices:data/read/search*'

# Allow users to read Search Relevance resources
search_relevance_read_access:
reserved: true
cluster_permissions:
- 'cluster:admin/opensearch/search_relevance/experiment/get'
- 'cluster:admin/opensearch/search_relevance/judgment/get'
- 'cluster:admin/opensearch/search_relevance/queryset/get'
- 'cluster:admin/opensearch/search_relevance/search_configuration/get'
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,9 @@ public class SecuritySettingsConfigurer {
".geospatial-ip2geo-data*",
".plugins-flow-framework-config",
".plugins-flow-framework-templates",
".plugins-flow-framework-state"
".plugins-flow-framework-state",
".plugins-search-relevance-experiment",
".plugins-search-relevance-judgment-cache"
);
static final Integer DEFAULT_PASSWORD_MIN_LENGTH = 8;
static String ADMIN_PASSWORD = "";
Expand Down