Skip to content

Commit b443537

Browse files
author
elasticsearchmachine
committed
[CI] Auto commit changes from spotless
1 parent efecf69 commit b443537

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/store/ReservedRolesStore.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -330,9 +330,7 @@ private static Map<String, RoleDescriptor> initializeReservedRoles() {
330330
RoleDescriptor.ApplicationResourcePrivileges.builder()
331331
.application("kibana-*")
332332
.resources("*")
333-
.privileges(
334-
"reserved_reporting_user"
335-
)
333+
.privileges("reserved_reporting_user")
336334
.build() },
337335
null,
338336
null,

x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/security/authz/store/ReservedRolesStoreTests.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2772,9 +2772,7 @@ public void testReportingUserRole() {
27722772

27732773
final String applicationName = "kibana-.kibana";
27742774

2775-
final Set<String> applicationPrivilegeNames = Set.of(
2776-
"reserved_reporting_user"
2777-
);
2775+
final Set<String> applicationPrivilegeNames = Set.of("reserved_reporting_user");
27782776

27792777
final Set<String> allowedApplicationActionPatterns = Set.of(
27802778
"login:",

0 commit comments

Comments
 (0)