Class GlobalAclImpl

java.lang.Object
hudson.security.ACL
hudson.security.SidACL
io.jenkins.plugins.folderauth.acls.GlobalAclImpl

public class GlobalAclImpl extends SidACL
An immutable ACL object. Dispose off when no longer valid.

Creation of this object may be time intensive. Do NOT keep returning new instances of this object.

  • Field Details

    • permissionList

      protected Map<String,Set<Permission>> permissionList
      Maps each sid to the set of permissions assigned to it.

      The implementation should ensure that this list contains accurate permissions for each sid.

  • Constructor Details

    • GlobalAclImpl

      public GlobalAclImpl(Set<GlobalRole> globalRoles)
      Initializes the ACL objects and preemptively calculates all permissions for all sids.
      Parameters:
      globalRoles - set of roles from which to calculate the permissions.
  • Method Details