-
Notifications
You must be signed in to change notification settings - Fork 282
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
[BUG] Close API requires "hidden" permission #1461
Comments
[Triage] Hi @shanilpa, do you have any thoughts on how to best handle this issue? This issue remains relevant. Users given an error stating they need a permission should be able to assign that permission from the list. There are also "hidden" permissions which are not intuitive.
|
@scrawfor99 A couple of clarifying questions here before I make any UX recommendations.
As I understand it only an admin user has access to the Dashboards security plugin therefore they are the only ones that can assign permissions. I think it would be very risky to allow any user to self assign permissions from the list. Not sure I fully get what you meant by this statement, could you clarify? |
Hi @opensearch-project/security, |
This is released in 2.6.0. Closing issue. |
Describe the bug
Even with the
indices:admin/close
permission, you can't close an index. You also need theindices:admin/close*
permission, which isn't listed in OpenSearch Dashboards.Added: It's not clear to me if this is a problem with the OpenSearch plugin or OpenSearch Dashboards plugin. Have we considered a "list permissions" REST API (
GET _plugins/_security/api/permissions/
so that it's easier to get the authoritative list of all permissions?To Reproduce
Steps to reproduce the behavior:
test-index
and index a couple documents.Success.
Expected behavior
The
indices:admin/close*
permission should either not be necessary or should be included in the Dashboards UI.The text was updated successfully, but these errors were encountered: