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

User groups and roles are not resolving unles directly specified

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 3.5 RC1
    • None
    • None
    • None

    Description

      Scenario

      Let say there are 5 users which have special privileges.
      Instead of assigning to each user all the necessary roles and groups a special group is created (e.g. GSPECIAL)

      Add groups publisher and editor to group GSPECIAL and add as many roles as necessary to group GSPECIAL.
      Then add each of 5 users to group GSPECIAL.

      Problem #1:

      Inbox notification does not work.
      None of the members of GSPECIAL have a direct relationship with groups "publisher" and "editor" which are necessary for Inbox notification..However, users DO belong to those groups via indirect group membership...

      Problem #2:

      Role inheritance does not work.
      Getting user roles via API returns only direct assigned roles. In our scenrio that means none of the 5 users have roles defines which is not true. All 5 users have indirect roles defined via group membership.

      Perhaps my logic is flawed but if a user is a member of a group which in turn has other groups and roles than that user shold inherit all those roles and groups along with their privileges....

      Workaround:

      Assign groups and roles directly to user.

      Quick solution:

      Disable assigning groups and roles in group dialog or abandon groups allthogether (bad idea). I am sure workflow can be based off of roles in that case...

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                gjoseph Magnolia International
                zambak zam6ak
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD