Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable the "Edit" button on OpenSearch Dashboard UI #3960

Closed
MachieLal opened this issue Jan 19, 2024 · 1 comment
Closed

Disable the "Edit" button on OpenSearch Dashboard UI #3960

MachieLal opened this issue Jan 19, 2024 · 1 comment
Labels
enhancement New feature or request untriaged Require the attention of the repository maintainers and may need to be prioritized

Comments

@MachieLal
Copy link

Is your feature request related to a problem?
We have installed OpenSearch version 2.11, and we share the common OpenSearch Dashboards and Visualizations across multiple teams. Even with kibana_read_only role the user is able to make orientation and visualization changes to the dashboards which causes wasted rework efforts.

What solution would you like?
We would like to keep it non-editable from the UI and have a feature where the "Edit" buttons can be disabled from the Dashboard UI for specific roles.

What alternatives have you considered?
If the above requirement can be achieved by some other means, we would love to know.

@MachieLal MachieLal added enhancement New feature or request untriaged Require the attention of the repository maintainers and may need to be prioritized labels Jan 19, 2024
@stephen-crawford
Copy link
Contributor

[Triage] Hi @MachieLal, thanks for filing this issue. For some context please visit this comment from a previous issue: #2701 (comment).

Unfortunately, the evaluation of permissions prior to a request is not very feasible. This means that we cannot "disable" the button in advance since we are not able to determine whether a user has permissions or not to make an action until they actually try to execute that action. This is admittedly not the best... There is a potential fix for this with the workspace feature (opensearch-project/OpenSearch-Dashboards#5083) which you may be interested in but for the time being we are not able to address this request.

Going to close this issue since it is unfeasible right now, but please feel free to follow up with any questions you have.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request untriaged Require the attention of the repository maintainers and may need to be prioritized
Projects
None yet
Development

No branches or pull requests

2 participants