Class GenericAclImpl

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

public class GenericAclImpl extends SidACL
An ACL for one Job or one AbstractProject or one Computer.
  • 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

    • GenericAclImpl

      public GenericAclImpl()
  • Method Details

    • assignPermissions

      public void assignPermissions(Set<String> sids, Set<Permission> permissions)
      Assigns permissions to each sid in sid.
      Parameters:
      sids - the sids to be assigned permissions
      permissions - the Permissions to be assigned
    • hasPermission

      @Nullable protected Boolean hasPermission(Sid sid, Permission permission)
      Specified by:
      hasPermission in class SidACL