public static interface PermissionManager.Criterion
Modifier and Type | Method and Description |
---|---|
boolean |
test(List<?> alreadyChosenEntities,
Object entity)
Determine whether a particular entity should be permitted or not.
|
boolean test(List<?> alreadyChosenEntities, Object entity)
PermissionManager.getPermittedEntities(com.atlassian.user.User, Permission, java.util.Iterator, int, java.util.Collection)
to further filter the list of results beyond the simple permissions check.alreadyChosenEntities
- the list of entities that have already been permittedentity
- the entity to testPermissionManager.getPermittedEntities(com.atlassian.user.User, Permission, java.util.Iterator, int, java.util.Collection)
Copyright © 2003–2017 Atlassian. All rights reserved.