Class AccessUtils

java.lang.Object
org.dlese.dpc.schemedit.security.util.AccessUtils

public final class AccessUtils extends Object
  • Constructor Details

    • AccessUtils

      public AccessUtils()
  • Method Details

    • getManagedUsers

      public static List getManagedUsers(User sessionUser, List authorizedSets, UserManager userManager)
    • getManagedUsers

      public static List getManagedUsers(User sessionUser, List authorizedSets, UserManager userManager, Comparator comparator)
      build a list of users who are managed by the current sessionUser. This list contains all the users who have permission to access any of the collections managed by the sessionUser. Admin users manage all other users, including other admins.
    • getManagableUsers

      public static List getManagableUsers(User sessionUser, List managedUsers, UserManager userManager)
    • getManagableUsers

      public static List getManagableUsers(User sessionUser, List managedUsers, UserManager userManager, Comparator comparator)
    • getAuthorizedSetInfo

      public static SetInfo getAuthorizedSetInfo(String collection, List authorizedSets) throws Exception
      Throws:
      Exception