Index permissions should not be assigned to cluster permissions and vice versa #1347
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed, need help from community
triaged
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 onlyindices:*
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.
The text was updated successfully, but these errors were encountered: