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

[BUG] index_template action type is not part of cluster-permissions check even though template is. #1884

Closed
DarshitChanpura opened this issue Jun 13, 2022 · 0 comments · Fixed by #1885
Assignees

Comments

@DarshitChanpura
Copy link
Member

DarshitChanpura commented Jun 13, 2022

The part of code which evaluates an action to be of cluster permission type here is missing the logic to check for index_template action type.

Behavior before change:
All the actions with pattern indices:admin/index_template/ are not evaluated as cluster-level permissions even though by design it should. This, alongwith the miss in documentation website, mislead users to provide this permission as index-level when trying to fix it.

Expected behavior after change:
All the actions with pattern indices:admin/index_template/ should be evaluated as cluster-level permission.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants