Closed mwojno-tsg closed 3 years ago
This issue was resolved with the following OC commit: 26639 and OCMS commit: 26253.
The proposed solution above was NOT used. There actually was no need for a code update and was just edge4 config changes:
config-project
on the OCMS side was updated to be true to enable username/password for admin section. It was also tested that if you want no restrictions then you can simply delete the secureAdminUrl
from the config-project.js
.CR: nreiman, rsaladrigas
Overview
The admin section to edge 4 loads to a blank screen without any errors in the console. Edge 4 is a solr project that is a view only portal. Therefore, the security is toggled off because every user has the same read only privileges for the application.
In the config project under
secureAdminUrl
it turns of password and allowed groups because anyone should be able to hit the admin section in this project. However, in the code the logic checks to see ifsecureAdminUrl
is not undefined.Even if empty, which needs to happen in edge4's case, it will still try and check for security attributes.
Reproduce Issue
Proposed Solution
adminRouter
to check thesecureAdminUrl
with an_.isEmpty
.secureAdminUrl
in theconfig-project
be empty. Instead of just the undefined check that it was doing, which would always be defined according to how theconfig-project
needs to be