Class BambooAclHelper
java.lang.Object
com.atlassian.bamboo.security.acegi.acls.BambooAclHelper
Another ACL helper abstracting permission operations on users, groups and roles.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
addPermissionKeys
(@NotNull org.acegisecurity.acls.MutableAcl acl, @NotNull List<String> permissionKeysToAdd) calculatePermissionKeysAfterRemoval
(@NotNull org.acegisecurity.acls.MutableAcl acl, @NotNull List<String> permissionKeysToRemove) getAnonymousPermissions
(@NotNull org.acegisecurity.acls.Acl acl, @NotNull Collection<BambooPermission> supportedPermissions) getGroupPermissions
(@NotNull org.acegisecurity.acls.Acl acl, @NotNull String group, @NotNull Collection<BambooPermission> supportedPermissions) getLoggedInPermissions
(@NotNull org.acegisecurity.acls.Acl acl, @NotNull Collection<BambooPermission> supportedPermissions) getUserPermissions
(@NotNull org.acegisecurity.acls.Acl acl, @NotNull String username, @NotNull Collection<BambooPermission> supportedPermissions) listGroupsWithPermissions
(@NotNull org.acegisecurity.acls.Acl acl, @NotNull Collection<BambooPermission> supportedPermissions) listUsersWithPermissions
(@NotNull org.acegisecurity.acls.Acl acl, @NotNull Collection<BambooPermission> supportedPermissions) boolean
removePermissionKeys
(@NotNull org.acegisecurity.acls.MutableAcl acl, @NotNull List<String> permissionKeysToRemove)
-
Constructor Details
-
BambooAclHelper
-
-
Method Details
-
listUsersWithPermissions
public Iterable<String> listUsersWithPermissions(@NotNull @NotNull org.acegisecurity.acls.Acl acl, @NotNull @NotNull Collection<BambooPermission> supportedPermissions) -
getUserPermissions
public List<BambooPermission> getUserPermissions(@NotNull @NotNull org.acegisecurity.acls.Acl acl, @NotNull @NotNull String username, @NotNull @NotNull Collection<BambooPermission> supportedPermissions) -
listGroupsWithPermissions
public Iterable<String> listGroupsWithPermissions(@NotNull @NotNull org.acegisecurity.acls.Acl acl, @NotNull @NotNull Collection<BambooPermission> supportedPermissions) -
getGroupPermissions
public List<BambooPermission> getGroupPermissions(@NotNull @NotNull org.acegisecurity.acls.Acl acl, @NotNull @NotNull String group, @NotNull @NotNull Collection<BambooPermission> supportedPermissions) -
getLoggedInPermissions
public List<BambooPermission> getLoggedInPermissions(@NotNull @NotNull org.acegisecurity.acls.Acl acl, @NotNull @NotNull Collection<BambooPermission> supportedPermissions) -
getAnonymousPermissions
public List<BambooPermission> getAnonymousPermissions(@NotNull @NotNull org.acegisecurity.acls.Acl acl, @NotNull @NotNull Collection<BambooPermission> supportedPermissions) -
addPermissionKeys
-
calculatePermissionKeysAfterRemoval
-
removePermissionKeys
-