public class

AuthorizerImpl

extends Object
implements Authorizer
java.lang.Object
   ↳ com.atlassian.jira.plugin.searchrequestview.auth.AuthorizerImpl

Class Overview

The one we deploy for production, other impls have unit tests, this one builds an aggregate of those.

Summary

[Expand]
Inherited Fields
From interface com.atlassian.jira.plugin.searchrequestview.auth.Authorizer
Public Constructors
AuthorizerImpl(SearchProvider searchProvider, ApplicationProperties properties, GroupManager groupManager)
Public Methods
Authorizer.Result isSearchRequestAuthorized(ApplicationUser user, SearchRequest searchRequest, SearchRequestParams params)
Can the specified user perform this SearchRequest?
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.plugin.searchrequestview.auth.Authorizer

Public Constructors

public AuthorizerImpl (SearchProvider searchProvider, ApplicationProperties properties, GroupManager groupManager)

Public Methods

public Authorizer.Result isSearchRequestAuthorized (ApplicationUser 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