senzing-garage/entity-search-web-app

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

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:

Screenshots
2021-09-07_183615