Skip to content

Commit 0044e80

Browse files
committed
Merge remote-tracking branch 'carlosdelest/bugfix/synonyms-index-searchable' into bugfix/synonyms-index-searchable
2 parents 8d3e221 + 8fef96c commit 0044e80

File tree

1 file changed

+1
-2
lines changed
  • x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/user

1 file changed

+1
-2
lines changed

x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/user/InternalUsers.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
import org.elasticsearch.xpack.core.XPackPlugin;
3434
import org.elasticsearch.xpack.core.ilm.action.ILMActions;
3535
import org.elasticsearch.xpack.core.security.authz.RoleDescriptor;
36-
import org.elasticsearch.xpack.core.security.authz.privilege.ConfigurableClusterPrivilege;
3736
import org.elasticsearch.xpack.core.security.support.MetadataUtils;
3837

3938
import java.util.Arrays;
@@ -284,7 +283,7 @@ public class InternalUsers {
284283
UsernamesField.SYNONYMS_USER_NAME,
285284
new RoleDescriptor(
286285
UsernamesField.SYNONYMS_ROLE_NAME,
287-
new String[] {"monitor"},
286+
new String[] { "monitor" },
288287
new RoleDescriptor.IndicesPrivileges[] {
289288
RoleDescriptor.IndicesPrivileges.builder().indices(".synonyms*").privileges("all").allowRestrictedIndices(true).build(),
290289
RoleDescriptor.IndicesPrivileges.builder().indices("*").privileges(TransportReloadAnalyzersAction.TYPE.name()).build(), },

0 commit comments

Comments
 (0)