When user has explicitly set "NONE" for admin authentication routes that should be disabled by "adminEnabled: false" are not properly handled.
Closed this issue · 0 comments
arawinters commented
Describe the bug
When user has explicitly set NONE
for admin authentication routes that should be disabled by adminEnabled: false
are not properly handled.
When the user has not set -enableAdmin
for the api-server, but did specify SENZING_WEB_SERVER_ADMIN_AUTH_MODE: NONE
for the webapp server the /admin/*
routes do not show the correct "Admin Not Enabled" messaging. The user's can still go to /admin/*
but features not enabled on the api-server will throw errors and the UI may not know how to handle them properly.
Expected behavior
The user is redirected to the proper error page: