Skip to content

Commit

Permalink
RBAC: Fix 403 when viewing audit topic messages (#267)
Browse files Browse the repository at this point in the history
  • Loading branch information
Haarolean authored Apr 5, 2024
1 parent c7b4d16 commit c8ca5a6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api/src/main/java/io/kafbat/ui/model/rbac/Resource.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import io.kafbat.ui.model.rbac.permission.AclAction;
import io.kafbat.ui.model.rbac.permission.ApplicationConfigAction;
import io.kafbat.ui.model.rbac.permission.AuditAction;
import io.kafbat.ui.model.rbac.permission.ClientQuotaAction;
import io.kafbat.ui.model.rbac.permission.ClusterConfigAction;
import io.kafbat.ui.model.rbac.permission.ConnectAction;
Expand Down Expand Up @@ -33,7 +34,7 @@ public enum Resource {

ACL(AclAction.values()),

AUDIT(AclAction.values()),
AUDIT(AuditAction.values()),

CLIENT_QUOTAS(ClientQuotaAction.values());

Expand Down

0 comments on commit c8ca5a6

Please sign in to comment.