com.atlassian.bitbucket.permission.PermissionPredicateFactory |
Factory for creation permission-predicates
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Retrieves a
Predicate which applies a check to ensure the current user can access PullRequest s. | |||||||||||
Retrieves a
Predicate which applies a check to ensure the current user has the specified permission with
regards to PullRequest s. | |||||||||||
Retrieves a Predicate
which applies a check to ensure the current user can access PullRequest
s.
Note: Pull requests are never accessible to anonymous users.
PullRequest
predicate for pull request accessibilityRetrieves a Predicate
which applies a check to ensure the current user has the specified permission with
regards to PullRequest
s. This predicate may be used for filtering rows from a DAO, for example.
permission | the permission to check for |
---|
permission | the permission in question |
---|
Repository
predicate for given Permission