The GitHub Actions job "CI" on 
rocketmq-dashboard.git/fix/auth-status-login-policy has failed.
Run started by GitHub user Wang1rrr (triggered by Wang1rrr).

Head commit for run:
337300fb042054e8a0df3f4428acf427108a1f61 / wang1r <[email protected]>
fix(auth): report the login policy the interceptor enforces

AuthInterceptor and AuthController both derive "is a login required" from
the static property and the runtime requireLogin settings row, but they
disagreed on the failure branches. The interceptor fails closed, while
/api/auth/status reported no login for a missing row and let a read
failure escape as a 500. The frontend chooses between the login page and
the console from that flag, so a missing or unreadable policy left it on
an error screen or in a console whose requests were all rejected.

Apply the interceptor's fail-closed rule in the controller.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

Report URL: 
https://github.com/apache/rocketmq-dashboard/actions/runs/37163912415

With regards,
GitHub Actions via GitBox

Reply via email to