Uploaded image for project: 'Grouper'
  1. Grouper
  2. GRP-1663

inherited privileges should revoke those privileges to subobjects

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.3.1, 2.4.0, 2.3.0.patch
    • Component/s: API, UI
    • Labels:
      None

      Description

      Note, dont revoke the privileges if there is another inherited rule in one of their ancestor folders.

      This is performed in a thread so the page doesnt hang on large operations.

          int changes = RuleApi.removePrivilegesIfNotAssignedByRule(true, stem2, Scope.SUB, groupA.toSubject(), Privilege.getInstances("read, update"), null);
      

        Smart Checklist

          Attachments

            Activity

              People

              Assignee:
              chris.hyzer@at.internet2.edu Chris Hyzer (upenn.edu)
              Reporter:
              chris.hyzer@at.internet2.edu Chris Hyzer (upenn.edu)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: