public class BambooAclHelper extends Object
Constructor and Description |
---|
BambooAclHelper(HibernateMutableAclService aclService) |
Modifier and Type | Method and Description |
---|---|
boolean |
addPermissionKeys(org.acegisecurity.acls.MutableAcl acl,
List<String> permissionKeysToAdd) |
Set<String> |
calculatePermissionKeysAfterRemoval(org.acegisecurity.acls.MutableAcl acl,
List<String> permissionKeysToRemove) |
List<BambooPermission> |
getAnonymousPermissions(org.acegisecurity.acls.Acl acl,
Collection<BambooPermission> supportedPermissions) |
List<BambooPermission> |
getGroupPermissions(org.acegisecurity.acls.Acl acl,
String group,
Collection<BambooPermission> supportedPermissions) |
List<BambooPermission> |
getLoggedInPermissions(org.acegisecurity.acls.Acl acl,
Collection<BambooPermission> supportedPermissions) |
List<BambooPermission> |
getUserPermissions(org.acegisecurity.acls.Acl acl,
String username,
Collection<BambooPermission> supportedPermissions) |
Iterable<String> |
listGroupsWithPermissions(org.acegisecurity.acls.Acl acl,
Collection<BambooPermission> supportedPermissions) |
Iterable<String> |
listUsersWithPermissions(org.acegisecurity.acls.Acl acl,
Collection<BambooPermission> supportedPermissions) |
boolean |
removePermissionKeys(org.acegisecurity.acls.MutableAcl acl,
List<String> permissionKeysToRemove) |
@Autowired public BambooAclHelper(HibernateMutableAclService aclService)
public Iterable<String> listUsersWithPermissions(@NotNull org.acegisecurity.acls.Acl acl, @NotNull Collection<BambooPermission> supportedPermissions)
public List<BambooPermission> getUserPermissions(@NotNull org.acegisecurity.acls.Acl acl, @NotNull String username, @NotNull Collection<BambooPermission> supportedPermissions)
public Iterable<String> listGroupsWithPermissions(@NotNull org.acegisecurity.acls.Acl acl, @NotNull Collection<BambooPermission> supportedPermissions)
public List<BambooPermission> getGroupPermissions(@NotNull org.acegisecurity.acls.Acl acl, @NotNull String group, @NotNull Collection<BambooPermission> supportedPermissions)
public List<BambooPermission> getLoggedInPermissions(@NotNull org.acegisecurity.acls.Acl acl, @NotNull Collection<BambooPermission> supportedPermissions)
public List<BambooPermission> getAnonymousPermissions(@NotNull org.acegisecurity.acls.Acl acl, @NotNull Collection<BambooPermission> supportedPermissions)
public boolean addPermissionKeys(@NotNull org.acegisecurity.acls.MutableAcl acl, @NotNull List<String> permissionKeysToAdd)
@NotNull public Set<String> calculatePermissionKeysAfterRemoval(@NotNull org.acegisecurity.acls.MutableAcl acl, @NotNull List<String> permissionKeysToRemove)
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.