|
6 | 6 | */ |
7 | 7 | package org.elasticsearch.xpack.core.security.authz.privilege; |
8 | 8 |
|
| 9 | +import org.elasticsearch.action.admin.indices.readonly.TransportAddIndexBlockAction; |
9 | 10 | import org.elasticsearch.action.search.TransportSearchShardsAction; |
10 | 11 | import org.elasticsearch.index.seqno.RetentionLeaseActions; |
11 | 12 | import org.elasticsearch.index.seqno.RetentionLeaseBackgroundSyncAction; |
@@ -38,12 +39,13 @@ public final class SystemPrivilege extends Privilege { |
38 | 39 | RetentionLeaseActions.ADD.name() + "*", // needed for CCR to add retention leases |
39 | 40 | RetentionLeaseActions.REMOVE.name() + "*", // needed for CCR to remove retention leases |
40 | 41 | RetentionLeaseActions.RENEW.name() + "*", // needed for CCR to renew retention leases |
41 | | - "indices:admin/settings/update", // needed for DiskThresholdMonitor.markIndicesReadOnly |
| 42 | + "indices:admin/settings/update", // needed for: DiskThresholdMonitor.markIndicesReadOnly, SystemIndexMigrator |
42 | 43 | CompletionPersistentTaskAction.INSTANCE.name(), // needed for ShardFollowTaskCleaner |
43 | 44 | "indices:data/write/*", // needed for SystemIndexMigrator |
44 | 45 | "indices:data/read/*", // needed for SystemIndexMigrator |
45 | 46 | "indices:admin/refresh", // needed for SystemIndexMigrator |
46 | 47 | "indices:admin/aliases", // needed for SystemIndexMigrator |
| 48 | + TransportAddIndexBlockAction.TYPE.name() + "*", // needed for SystemIndexMigrator |
47 | 49 | TransportSearchShardsAction.TYPE.name(), // added so this API can be called with the system user by other APIs |
48 | 50 | ActionTypes.RELOAD_REMOTE_CLUSTER_CREDENTIALS_ACTION.name() // needed for Security plugin reload of remote cluster credentials |
49 | 51 | ); |
|
0 commit comments