Map appropriate Atlas roles to readonly preference in compass-web

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Developer Tools

      When user role in Atlas doesn't allow to make any changes to the data in UI, we connect them to the database with correct access roles, but the UI is still showing the editing UI. User can try to modify the documents, but the request corretly fails with "not allowed" error

      We can make this expirience better by mapping Atlas user role to compass preferences readonly mode which hides those UI elements and so doesn't expose users to the feature they don't have access to.

      Specifically we'd want

      • Read only Cloud users to be Compass read only everywhere
      • Read write Cloud users to be read only on the indexes page

      Also, add an E2E test to verify that this works.

            Assignee:
            Sergey Petushkov
            Reporter:
            Sergey Petushkov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: