-
Notifications
You must be signed in to change notification settings - Fork 88
Closed
Description
Observed behavior (please include a screenshot if possible)
Reloading http://localhost:9966/admin/servers on the deploy-to-ec2
branch fails to take in the appinfo
config info when checking if the deployment module is enabled at:
datatools-ui/lib/admin/components/AdminPage.js
Lines 82 to 84 in 20e411c
case 'servers': | |
if (!isApplicationAdmin || !isModuleEnabled('deployment')) return restricted | |
return <ServerSettings editDisabled={false} /> |
Expected behavior
Module check should take into account server appinfo
config data.
Steps to reproduce the problem
Navigate to http://localhost:9966/admin/servers and reload the page. You will not be able to access the page even if the deployment module is enabled.
Any special notes on configuration used
localhost config
Version of datatools-ui and datatools-server if applicable (exact commit hash or branch name)
ui: 20e411c
server: ibi-group/datatools-server@e1fe1a3