Skip to content

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

@spapadop

Description

@spapadop

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestgood first issueGood for newcomershelp wantedExtra attention is needed, need help from communitytriaged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions