Skip to content

Commit

Permalink
Fix checkstyle in main :(
Browse files Browse the repository at this point in the history
  • Loading branch information
Haarolean committed Feb 21, 2024
1 parent b8e46c2 commit ae7675a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion api/src/main/java/io/kafbat/ui/model/rbac/AccessContext.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package io.kafbat.ui.model.rbac;

import static io.kafbat.ui.model.rbac.permission.SchemaAction.MODIFY_GLOBAL_COMPATIBILITY;

import com.google.common.base.Preconditions;
import io.kafbat.ui.model.rbac.permission.AclAction;
import io.kafbat.ui.model.rbac.permission.ApplicationConfigAction;
Expand Down Expand Up @@ -132,7 +134,7 @@ public AccessContextBuilder schemaActions(String schema, SchemaAction... actions
}

public AccessContextBuilder schemaGlobalCompatChange() {
accessedResources.add(new SingleResourceAccess(Resource.SCHEMA, List.of(SchemaAction.MODIFY_GLOBAL_COMPATIBILITY)));
accessedResources.add(new SingleResourceAccess(Resource.SCHEMA, List.of(MODIFY_GLOBAL_COMPATIBILITY)));
return this;
}

Expand Down

0 comments on commit ae7675a

Please sign in to comment.