Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-197

defining acl without any exlusions.

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Fixed
    • Major
    • None
    • 2.0 Final
    • admininterface
    • None
    • all

    Description

      Imagine, you have the following Task:
      provide a restricted role with the ability to read and modifiy only a certain
      content tree "myContent" BUT do not see any other content.

      Content Hierarchy from root looks like this:
      +features
      +myContent

      What the author should see is:
      +myContent

      This can be solved by using the following acl entries to the authors role:

      R- Selected and sub Pages /
      – Selected and sub Pages /features
      RW Selected and sub Pages /myContent

      This works fine, but has the disadvantage, that by adding other subtrees to the content root,
      all the acl entries would need to be added to the role. Still not a big deal with a single role,
      but images multiple roles with multiple content roots, and immidiately you get a combinatoric
      explosion.

      What i tried now is this:

      R- Selected and sub Pages /
      – Sub Pages /
      RW Selected and sub Pages /myContent

      But after saving it will become (intended or due to a bug?):

      R- Selected and sub Pages /
      – Selected and sub Pages /
      RW Selected and sub Pages /myContent

      And therefore the author won't see anything.

      The best way to do this would be to define the acl without any exlusions.

      In order to achieve this, i would suggest an additional option for the acl
      configuration. Beside "Selected and sub Pages" and "Sub pages" should be the
      option: "Selected only".

      The problem should then be solvable with just two lines:

      R- Selected only /
      RW Selected and sub Pages /myContent

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              pbaerfuss Philipp Bärfuss
              scharles Sameer Charles
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: