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

Index permissions should not be assigned to cluster permissions and vice versa #1347

Closed
spapadop opened this issue May 11, 2021 · 3 comments · Fixed by #1482
Closed

Index permissions should not be assigned to cluster permissions and vice versa #1347

spapadop opened this issue May 11, 2021 · 3 comments · Fixed by #1482
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed, need help from community triaged

Comments

@spapadop
Copy link

I know the following is not important, just a nice-to-have feature. I'm using the latest opendistro 1.13.2 version.

At the moment, one can assign index permissions (e.g. indices_all) to the cluster permissions tab within Kibana UI: Security > Roles > Edit role.

Likewise, when defining index permissions, suggestions like cluster_all, cluster_monitor, etc. pop up in the drop-down list.

If I am not mistaken these cases do not make sense, thus it would be optimal that the auto-complete suggestions are relevant to the permissions one is trying to define i.e. only cluster:* permission (groups) for cluster permissions and only indices:* permission (groups) for index permissions.

Going one step forward, if user anyway enters the wrong group of permissions an error/warning should occur, letting him know that it doesn't make sense.

Please let me know if my suggestion is unclear.

@andy840314 andy840314 added the enhancement New feature or request label Jun 24, 2021
@stephen-crawford
Copy link
Contributor

[Triage] @opensearch-project/transfer-request could you please move this over to the @opensearch-project/security-analytics-dashboards-plugin? Thank you. @cwperks feel free to close if you find a duplicate there already. Thank you.

@cwperks
Copy link
Member

cwperks commented Feb 23, 2023

I thought an issue existed for this, but couldn't find the existing issue. I filed a similar issue for action groups (#1346) but the issue filed here is on individual permissions which is also a problem. @opensearch-project/transfer-request Can you transfer this issue to security-dashboards-plugin?

@stephen-crawford
Copy link
Contributor

[Triage] This is a similar issue to #1346. These issues could be resolved at the same time and would make a good first issue.

@stephen-crawford stephen-crawford added help wanted Extra attention is needed, need help from community good first issue Good for newcomers triaged and removed untriaged labels Feb 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed, need help from community triaged
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants