You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The saved object can't be created when permissions property provided and multi tenant enabled. The savedObjects.permissions.enabled in buildActiveMapping method is undefined. The permissions property won't be added to the mapping.
To Reproduce
Steps to reproduce the behavior:
Enable saved objects permissions control and multi tenant
Add below config to config/opensearch_dashboards.yml
{
"error": {
"root_cause": [
{
"type": "strict_dynamic_mapping_exception",
"reason": "mapping set to strict, dynamic introduction of [permissions] within [_doc] is not allowed"
}
],
"type": "strict_dynamic_mapping_exception",
"reason": "mapping set to strict, dynamic introduction of [permissions] within [_doc] is not allowed"
},
"status": 400
}
Expected behavior
Saved object should be created successful.
OpenSearch Version
3.0.0
Dashboards Version
3.0.0
Plugins
security-plugin
Screenshots
Host/Environment (please complete the following information):
N/A
Additional context
N/A
The text was updated successfully, but these errors were encountered:
, security-dashboard-plugin should also pass the second parameter opensearchDashboardsRawConfig when calling the method buildActiveMappings, so that index migration can be triggered for each tenant index and the field permissions could be added to the mappings of the tenant index.
Describe the bug
The saved object can't be created when permissions property provided and multi tenant enabled. The
savedObjects.permissions.enabled
inbuildActiveMapping
method is undefined. The permissions property won't be added to the mapping.To Reproduce
Steps to reproduce the behavior:
Add below config to
config/opensearch_dashboards.yml
yarn start --no-base-path
, start OSD serverExpected behavior
Saved object should be created successful.
OpenSearch Version
3.0.0
Dashboards Version
3.0.0
Plugins
security-plugin
Screenshots
Host/Environment (please complete the following information):
N/A
Additional context
N/A
The text was updated successfully, but these errors were encountered: