Modifier and Type | Method and Description |
---|---|
static com.google.common.base.Predicate<Object> |
FinderPredicates.permissionPredicate(Permission permission,
PermissionManager permissionManager) |
static com.google.common.base.Predicate<Object> |
FinderPredicates.permissionPredicate(com.atlassian.user.User user,
Permission permission,
PermissionManager permissionManager) |
Constructor and Description |
---|
NotAuthorizedException(com.atlassian.user.User user,
Permission permission,
Object target) |
Modifier and Type | Field and Description |
---|---|
protected Permission |
BasePermissionCondition.permission |
Modifier and Type | Field and Description |
---|---|
static Permission |
Permission.ADMINISTER |
static Permission |
Permission.EDIT |
static Permission |
Permission.EXPORT |
static Permission |
Permission.REMOVE |
static Permission |
Permission.SET_PERMISSIONS |
static Permission |
Permission.VIEW |
Modifier and Type | Method and Description |
---|---|
static Permission |
Permission.forName(String permissionName) |
Modifier and Type | Method and Description |
---|---|
<X> List<X> |
PermissionManager.getPermittedEntities(com.atlassian.user.User user,
Permission permission,
Iterator<? extends X> objects,
int maxResults)
Filter an iterator based on which entities in the list have a particular permission.
|
<X> List<X> |
DefaultPermissionManager.getPermittedEntities(com.atlassian.user.User user,
Permission permission,
Iterator<? extends X> objects,
int maxResults) |
<X> List<X> |
PermissionManager.getPermittedEntities(com.atlassian.user.User user,
Permission permission,
Iterator<X> objects,
int maxResults,
Collection<? extends PermissionManager.Criterion> otherCriteria)
Filter an iterator based on which entities in the list have a particular permission.
|
<X> List<X> |
DefaultPermissionManager.getPermittedEntities(com.atlassian.user.User user,
Permission permission,
Iterator<X> entities,
int maxResults,
Collection<? extends PermissionManager.Criterion> otherCriteria) |
<X> List<X> |
PermissionManager.getPermittedEntities(com.atlassian.user.User user,
Permission permission,
List<? extends X> objects)
Filter a list based on which entities in the list have a particular permission.
|
<X> List<X> |
DefaultPermissionManager.getPermittedEntities(com.atlassian.user.User user,
Permission permission,
List<? extends X> objects) |
<X> List<X> |
PermissionManager.getPermittedEntitiesNoExemptions(com.atlassian.user.User user,
Permission permission,
Iterator<? extends X> objects,
int maxResults)
Filter an iterator based on which entities in the list have a particular permission.
|
<X> List<X> |
DefaultPermissionManager.getPermittedEntitiesNoExemptions(com.atlassian.user.User user,
Permission permission,
Iterator<? extends X> objects,
int maxResults) |
<X> List<X> |
PermissionManager.getPermittedEntitiesNoExemptions(com.atlassian.user.User user,
Permission permission,
Iterator<X> objects,
int maxResults,
Collection<? extends PermissionManager.Criterion> otherCriteria)
Filter an iterator based on which entities in the list have a particular permission.
|
<X> List<X> |
DefaultPermissionManager.getPermittedEntitiesNoExemptions(com.atlassian.user.User user,
Permission permission,
Iterator<X> entities,
int maxResults,
Collection<? extends PermissionManager.Criterion> otherCriteria) |
<X> List<X> |
PermissionManager.getPermittedEntitiesNoExemptions(com.atlassian.user.User user,
Permission permission,
List<? extends X> objects)
Filter a list based on which entities in the list have a particular permission.
|
<X> List<X> |
DefaultPermissionManager.getPermittedEntitiesNoExemptions(com.atlassian.user.User user,
Permission permission,
List<? extends X> objects) |
boolean |
PermissionManager.hasPermission(com.atlassian.user.User user,
Permission permission,
Class targetType)
Determine whether a user has a particular permission for all instances of the specified target type.
|
boolean |
DefaultPermissionManager.hasPermission(com.atlassian.user.User user,
Permission permission,
Class targetType) |
boolean |
PermissionManager.hasPermission(com.atlassian.user.User user,
Permission permission,
Object target)
Determine whether a user has a particular permission against a given target.
|
boolean |
DefaultPermissionManager.hasPermission(com.atlassian.user.User user,
Permission permission,
Object target) |
boolean |
PermissionManager.hasPermissionNoExemptions(com.atlassian.user.User user,
Permission permission,
Object target)
Returns true if the user has the specified permission on the target object.
|
boolean |
DefaultPermissionManager.hasPermissionNoExemptions(com.atlassian.user.User user,
Permission permission,
Object target)
Returns true if the user has the specified permission on the target object.
|
Copyright © 2003–2017 Atlassian. All rights reserved.