Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-3886

Exclude workspaces in the JCR Browser app, based on the user's group

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Neutral
    • None
    • None
    • None
    • None

    Description

      The goal of this ticket is to be able to allow for a fine tuning of group-workspaces permissions in the JCR Browser app. This would for instance allow to hide the config workspace to users who are not part of the superuser group. Here is a proposal to solve this problem.

      First, create the following JCR hierarchy under /modules/jcr-browser-app/apps/jcr-browser/subApps/browser/contentConnector/excludes:

      • group1: ws1,ws2,ws3
      • group2: ws4,ws5
      • group3: ws6

      Secondly, in JcrBrowserContextTool#populateWorkspaceNames:

      1. get the current user's groups
      2. get the list of all excluded workspaces in the config
      3. do some basic filtering to exclude what needs to be for this particular user

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              mmichel Maxime Michel
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD