File tree 1 file changed +1
-4
lines changed
api/src/main/java/io/kafbat/ui/service/rbac
1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -65,21 +65,18 @@ public class AccessControlService {
65
65
66
66
@ PostConstruct
67
67
public void init () {
68
- log .info ("Initializing Access Control Service" );
69
- log .info ("defaultRole: {}" , properties .getDefaultRole ());
70
- log .info ("roles: {}" , properties .getRoles ());
71
68
if (CollectionUtils .isEmpty (properties .getRoles ()) && properties .getDefaultRole () == null ) {
72
69
log .trace ("No roles provided, disabling RBAC" );
73
70
return ;
74
71
}
75
72
if (properties .getDefaultRole () != null ) {
73
+ log .trace ("Set Default Role Clusters" );
76
74
properties .getDefaultRole ().setClusters (
77
75
clustersStorage .getKafkaClusters ().stream ()
78
76
.map (KafkaCluster ::getName )
79
77
.collect (Collectors .toList ())
80
78
);
81
79
}
82
- log .info ("defaultRole: {}" , properties .getDefaultRole ());
83
80
rbacEnabled = true ;
84
81
85
82
if (properties .getDefaultRole () != null ) {
You can’t perform that action at this time.
0 commit comments