OpenSearch/x-pack/plugin/ccr/qa/security
Jason Tedor c9f72a0116
Fix shard follow task cleaner under security (#52347)
The shard follow task cleaner executes on behalf of the user to clean up
a shard follow task after the follower index has been
deleted. Otherwise, these persistent tasks are left laying around, and
they fail to execute because the follower index has been deleted. In the
face of security, attempts to complete these persistent tasks would
fail.  This is because these cleanups are executed under the system
context (this makes sense, they are happening on behalf of the user
after the user has executed an action) but the system role was never
granted the permission for persistent task completion. This commit
addresses this by adding this cluster privilege to the system role.
2020-02-16 17:26:14 -05:00
..
src/test/java/org/elasticsearch/xpack/ccr Fix shard follow task cleaner under security (#52347) 2020-02-16 17:26:14 -05:00
build.gradle Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
follower-roles.yml Fix shard follow task cleaner under security (#52347) 2020-02-16 17:26:14 -05:00
leader-roles.yml Fix shard follow task cleaner under security (#52347) 2020-02-16 17:26:14 -05:00