public interface

Authorizer

com.atlassian.jira.plugin.searchrequestview.auth.Authorizer
Known Indirect Subclasses

Class Overview

Authorise that a SearchRequest may be permitted.

Summary

Nested Classes
class Authorizer.Failure Convenient impl for failures  
interface Authorizer.Result ResultObject that encapsulates the result and the reason if something is not OK. 
Fields
public static final Authorizer ALWAYS
Public Methods
Authorizer.Result isSearchRequestAuthorized(User user, SearchRequest searchRequest, SearchRequestParams params)
Can the specified user perform this SearchRequest?

Fields

public static final Authorizer ALWAYS

Public Methods

public Authorizer.Result isSearchRequestAuthorized (User user, SearchRequest searchRequest, SearchRequestParams params)

Can the specified user perform this SearchRequest?

Parameters
user who is trying to perform the
searchRequest they are attempting
params the parameters for the search (such as tempMax etc)
Returns
  • Result that says yay or nay, must not be null