Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-3562

getAuthorizedGroups doesn't consider inheritance

    Details

    • Type: Bug
    • Status: Volunteer Needed (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 6.0
    • Fix Version/s: None
    • Component/s: DSpace API
    • Labels:
      None
    • Attachments:
      0
    • Comments:
      0
    • Documentation Status:
      Needed

      Description

      The method getAuthorizedGroups(Context c, DSpaceObject o, int actionID) only tests "direct" resource policies, not considering groups inheriting rights from parent or ancestor groups.

      https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/authorize/AuthorizeServiceImpl.java#L620

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              pbroman Per Broman
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: