SE-2865 Disable the new OCIM console for staff users
Created by: mavidser
This PR disables the new OCIM console for staff users
JIRA tickets: SE-2865
Testing instructions:
- Checkout this branch.
- Enter new frontend subdirectory:
cd frontend
- Build Ocim API client:
./scripts/build-api-client.sh
- Reinstall dependencies:
npm install
- Run tests -
npm test
- Run frontend -
npm start
- Go to
http://localhost:3000/
and login as a staff user - You should see the above error page.
- Logout and login as a normal user - you should be able to see the OCIM console as usual.
Reviewers