Skip to content

Commit

Permalink
[Test] Fix FollowIndexSecurityIT by granting needed previleges (#84467)…
Browse files Browse the repository at this point in the history
… (#84471)

CCR user on the leader cluster needs more privileges than what are
documented (#61308). Specifically it needs to renew the retention lease
at a fixed time interval. This PR fixes it by granting the "manage"
index privilege to the CCR user on the leader cluster.

Note we still want to revisit privileges required CCR or at least fix
our documentation. This will be tracked with #61308.

Resolves: #84156

Co-authored-by: Elastic Machine <[email protected]>
  • Loading branch information
ywangd and elasticmachine authored Mar 1, 2022
1 parent 8ea44df commit f37bdc7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions x-pack/plugin/ccr/qa/security/leader-roles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,5 @@ ccruser:
indices:
- names: [ 'allowed-index', 'clean-leader', 'forget-leader', 'logs-eu*' ]
privileges:
- monitor
- manage
- read
- manage_leader_index
- view_index_metadata

0 comments on commit f37bdc7

Please sign in to comment.