public interface Authorizer
| Modifier and Type | Interface and Description |
|---|---|
static class |
Authorizer.Failure
Convenient impl for failures
|
static interface |
Authorizer.Result
ResultObject that encapsulates the result and the reason if something is not OK.
|
| Modifier and Type | Field and Description |
|---|---|
static Authorizer |
ALWAYS |
| Modifier and Type | Method and Description |
|---|---|
Authorizer.Result |
isSearchRequestAuthorized(ApplicationUser user,
SearchRequest searchRequest,
SearchRequestParams params)
Can the specified user perform this SearchRequest?
|
static final Authorizer ALWAYS
Authorizer.Result isSearchRequestAuthorized(ApplicationUser user, SearchRequest searchRequest, SearchRequestParams params)
user - who is trying to perform thesearchRequest - they are attemptingparams - the parameters for the search (such as tempMax etc)Copyright © 2002-2020 Atlassian. All Rights Reserved.