Package | Description |
---|---|
com.atlassian.crowd.dao.permission | |
com.atlassian.crowd.manager.permission | |
com.atlassian.crowd.model.permission | |
com.atlassian.crowd.plugin.rest.entity |
Modifier and Type | Method and Description |
---|---|
Collection<PermittedGroup> |
UserPermissionDAOHibernate.getGrantedPermissions(UserPermission permission) |
Collection<PermittedGroup> |
InternalUserPermissionDAO.getGrantedPermissions(UserPermission permission)
Find all groups that have been explicitly (not implicitly) granted the provided permission
|
Collection<PermittedGroup> |
NoopInternalUserPermissionDAO.getGrantedPermissions(UserPermission permission) |
Collection<PermittedGroup> |
UserPermissionDAOHibernate.getGrantedPermissions(UserPermission permission,
Application application) |
Collection<PermittedGroup> |
InternalUserPermissionDAO.getGrantedPermissions(UserPermission permission,
Application application)
Find all groups that have been explicitly (not implicitly) granted the provided permission
|
Collection<PermittedGroup> |
NoopInternalUserPermissionDAO.getGrantedPermissions(UserPermission permission,
Application application) |
Modifier and Type | Method and Description |
---|---|
UserPermission |
PermittedGroupImpl.getPermission() |
UserPermission |
PermittedGroup.getPermission()
A UserPermission granted to this DirectoryGroup
|
Modifier and Type | Method and Description |
---|---|
boolean |
UserPermissionServiceImpl.currentUserHasPermission(UserPermission permission) |
boolean |
UserPermissionService.currentUserHasPermission(UserPermission permission)
Does the current user have the provided permission.
|
Set<User> |
UserPermissionServiceImpl.getUsersWithPermission(Application application,
UserPermission permission,
boolean includeLocallyCachedOnly) |
Set<User> |
UserPermissionService.getUsersWithPermission(Application application,
UserPermission userPermission,
boolean includeLocallyCachedOnly) |
boolean |
UserPermissionServiceImpl.hasPermission(String username,
UserPermission permission) |
boolean |
UserPermissionService.hasPermission(String username,
UserPermission permission)
Does the provided user have the provided permission.
|
boolean |
RecoveryModeAwareUserPermissionService.hasPermissionOutsideOfGroups(String username,
UserPermission permission,
Collection<DirectoryGroup> excludedGroups) |
boolean |
UserPermissionServiceImpl.hasPermissionOutsideOfGroups(String username,
UserPermission permission,
Collection<DirectoryGroup> excludedGroups) |
boolean |
UserPermissionService.hasPermissionOutsideOfGroups(String username,
UserPermission permission,
Collection<DirectoryGroup> excludedGroups)
Does the provided user have the provided permission when not considering the provided groups.
|
void |
UserPermissionAdminServiceImpl.setPermissionForGroups(List<? extends DirectoryGroup> directoryGroups,
UserPermission permission) |
void |
UserPermissionAdminService.setPermissionForGroups(List<? extends DirectoryGroup> directoryGroupPairs,
UserPermission permission)
Set the granted permissions for each directoryGroup to permission.
|
Constructor and Description |
---|
PermittedGroupImpl(UserPermission permission,
Long directoryId,
String directoryName,
String groupName) |
Modifier and Type | Method and Description |
---|---|
static UserPermission |
UserPermission.fromId(int id)
Gets a permission by its id.
|
UserPermission |
InternalGrantedPermission.getPermission() |
static UserPermission |
UserPermission.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UserPermission[] |
UserPermission.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static Set<UserPermission> |
UserPermission.allPermissions()
Gets all the permissions.
|
Modifier and Type | Method and Description |
---|---|
void |
InternalGrantedPermission.setPermission(UserPermission permission) |
Constructor and Description |
---|
InternalGrantedPermission(Long id,
Date createdDate,
UserPermission userPermission,
DirectoryMapping directoryMapping,
String groupName) |
InternalGrantedPermission(UserPermission userPermission,
DirectoryMapping directoryMapping,
String groupName) |
Modifier and Type | Method and Description |
---|---|
UserPermission |
RestPermittedGroup.getPermission() |
Constructor and Description |
---|
RestPermittedGroup(String groupName,
UserPermission permission,
Long directoryId,
String directoryName) |
Copyright © 2020 Atlassian. All rights reserved.