Skip to content

SE-2865 Disable the new OCIM console for staff users

Boros Gábor requested to merge mavidser/disable-console-for-staff into master

Created by: mavidser

This PR disables the new OCIM console for staff users

JIRA tickets: SE-2865

Screenshots: Screen Shot 2020-07-07 at 12 33 39

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

Merge request reports