Skip to content

Commit 5f92c44

Browse files
authored
Reshard security authz support (elastic#139282)
This commit ensures that the system context can run reshard split actions.
1 parent 56ca59c commit 5f92c44

File tree

1 file changed

+1
-0
lines changed
  • x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/privilege

1 file changed

+1
-0
lines changed

x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/privilege/SystemPrivilege.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ public final class SystemPrivilege extends Privilege {
3636
"indices:admin/template/put", // needed for the TemplateUpgradeService
3737
"indices:admin/template/delete", // needed for the TemplateUpgradeService
3838
"indices:admin/seq_no/global_checkpoint_sync*", // needed for global checkpoint syncs
39+
"indices:admin/reshard/split*", // needed for reshard operations
3940
RetentionLeaseSyncAction.ACTION_NAME + "*", // needed for retention lease syncs
4041
RetentionLeaseBackgroundSyncAction.ACTION_NAME + "*", // needed for background retention lease syncs
4142
RetentionLeaseActions.ADD.name() + "*", // needed for CCR to add retention leases

0 commit comments

Comments
 (0)