OpenSearch-Dashboards
OpenSearch-Dashboards copied to clipboard
[DataSource] Restrict data source creation/update/delete when editMode is read_only or admin_only
Is your feature request related to a problem? Please describe.
Adding an optional setting that controls the permissions of data source to create, update and delete. data_source.editMode: "read_only|admin_only|none" "read_only": The data source is readonly for all users including OSD admin. "admin_only": The data source can only be edited by OSD admin((https://github.com/opensearch-project/OpenSearch-Dashboards/issues/6389) ). "none": The data source can be edited by all users. Default to "none".
Describe the solution you'd like
Before editing a data source, data source permission client wrapper will verify the data source edit mode.
Describe alternatives you've considered
Additional context
https://github.com/opensearch-project/OpenSearch-Dashboards/issues/4944
Hi @yubonluo, thanks for opening the issue! Are we targeting this in 2.16?
Hi @yubonluo, thanks for opening the issue! Are we targeting this in 2.16?
Hi @BionIT , The PR regarding this issue will be submitted in the next two days, with releasing on 2.15.