Skip to content

Conversation

@jimczi
Copy link
Contributor

@jimczi jimczi commented Feb 16, 2021

Backport of #68679

…astic#68679)

This change adds a new cluster privilege cancel_task that allows to:

Cancel running tasks (_tasks/_cancel).
Cancel and delete async searches.
Today the 'manage' cluster privilege is required to cancel tasks and
to delete async searches when security features are enabled.
This new focused privilege allows to handle tasks and searches only.

The change also adds the privilege to the internal 'kibana_system'
and '_async_search' roles. They both need to be able to cancel tasks
and delete async searches.

Relates elastic#67965
@jimczi jimczi merged commit 7c96891 into elastic:7.x Feb 16, 2021
@jimczi jimczi deleted the cancel_tasks_privilege_backport branch February 16, 2021 11:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant