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

Make JCRAuthorizationModule more extensible

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • 3.1 M1
    • 3.0.1
    • None
    • None

    Description

      JCRAuthorizationModule contains all the logic for extracting roles and groups from a magnolia user and adding related ACLs.
      All the methods that handle groups and roles are private and directly work with a content object, in order to make it more flexible it should be modified by separating the logic for retrieving groups and roles from the one that sets the ACLs.
      Instead of directly extract roles and set acls it should:

      • extract all the roles and groups names
      • set acl from the list of roles and group names.

      This will make easier to extend it by providing a custom way to collect roles (from an external repo) and to just handle ACLs inside magnolia

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              fgiust Fabrizio Giustina
              fgiust Fabrizio Giustina
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Task DoD