Class GenericAclImpl
java.lang.Object
hudson.security.ACL
hudson.security.SidACL
io.jenkins.plugins.folderauth.acls.GenericAclImpl
-
Field Summary
Modifier and TypeFieldDescriptionprotected Map<String,
Set<Permission>> Maps each sid to the set of permissions assigned to it.Fields inherited from class hudson.security.ACL
ANONYMOUS, ANONYMOUS_USERNAME, EVERYONE, SYSTEM, SYSTEM_USERNAME, SYSTEM2
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
assignPermissions
(Set<String> sids, Set<Permission> permissions) Assignspermissions
to each sid insid
.protected Boolean
hasPermission
(Sid sid, Permission permission) Methods inherited from class hudson.security.SidACL
_hasPermission, hasPermission2, newInheritingACL, toString
Methods inherited from class hudson.security.ACL
as, as, as2, checkAnyPermission, checkCreatePermission, checkCreatePermission, checkPermission, hasAnyPermission, hasCreatePermission, hasCreatePermission, hasCreatePermission2, hasCreatePermission2, hasPermission, hasPermission, impersonate, impersonate, impersonate, impersonate2, impersonate2, impersonate2, isAnonymous, isAnonymous2, lambda, lambda2
-
Field Details
-
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
Assignspermissions
to each sid insid
.- Parameters:
sids
- the sids to be assignedpermissions
permissions
- thePermission
s to be assigned
-
hasPermission
- Specified by:
hasPermission
in classSidACL
-