RBAC implemantion issue #4015
-
Issue submitter TODO list
Describe the bug (actual behavior)while staring application app get crashed due Expected behaviorthe application should properly **Your installation details **
** Steps to reproduce** docker run -p 8080:8080 -e SPRING_CONFIG_ADDITIONAL-LOCATION=/config.yml kafka-ui:latest Logs 18:13:09,479 |-INFO in ch.qos.logback.classic.LoggerContext[default] - This is logback-classic version 1.4.7 | | | |_ | / |_ _ _ /\ _ __ __ _ | | ___ | |/ /_ _ / | |____ 2023-07-04 18:13:13,626 INFO [background-preinit] o.h.v.i.u.Version: HV000001: Hibernate Validator 8.0.0.Final Using generated security password: 8b706638-82b3-4e93-92db-777043a029f4 2023-07-04 18:13:31,473 INFO [main] c.p.k.u.c.a.OAuthSecurityConfig: Configuring OAUTH2 authentication. ScreenshotsNo response Logsec2-user@ip-172-34-26-20 ~]$ docker logs 488f905ac0ca | | | |_ | / |_ _ _ /\ _ __ __ _ | | ___ | |/ /_ _ / | |____ 2023-07-05 04:06:11,176 INFO [background-preinit] o.h.v.i.u.Version: HV000001: Hibernate Validator 8.0.0.Final Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled. APPLICATION FAILED TO START Description: Binding to target [Bindable@79ab3a71 type = java.util.List<com.provectus.kafka.ui.model.rbac.Role>, value = 'provided', annotations = array[[empty]]] failed:
Action: Update your application's configuration Additional contextI was try setup role based access policy on kafka UI where some of group memeber have write, modify delete access and some needs to read only access |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 21 replies
-
Hi, please format your config as yaml (using triple backticks) so we could take a look |
Beta Was this translation helpful? Give feedback.
-
@Haarolean I have formatted config yaml please have a look and suggest |
Beta Was this translation helpful? Give feedback.
-
Your rbac config structure is not properly indented. |
Beta Was this translation helpful? Give feedback.
Your rbac config structure is not properly indented.
Please refer to our documentation, here's one example with a full structure: here