Skip to content

Commit e75f16b

Browse files
committed
remove MESSAGES_READ from ANALYSIS dependant actions
1 parent dfa585a commit e75f16b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

api/src/main/java/io/kafbat/ui/model/rbac/permission/TopicAction.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ public enum TopicAction implements PermissibleAction {
1313
MESSAGES_READ(VIEW),
1414
MESSAGES_PRODUCE(VIEW),
1515
MESSAGES_DELETE(VIEW, EDIT),
16-
ANALYSIS_VIEW(VIEW, MESSAGES_READ),
17-
ANALYSIS_RUN(VIEW, ANALYSIS_VIEW, MESSAGES_READ),
16+
ANALYSIS_VIEW(VIEW),
17+
ANALYSIS_RUN(VIEW, ANALYSIS_VIEW),
1818

1919
;
2020

0 commit comments

Comments
 (0)