public interface PermissionsFilterGenerator
Modifier and Type | Method and Description |
---|---|
org.apache.lucene.search.Query |
getQuery(ApplicationUser searcher)
Deprecated.
Use
getQuery(ApplicationUser, Collection) instead, since 7.10 |
org.apache.lucene.search.Query |
getQuery(ApplicationUser searcher,
Collection<Project> projects)
Generates a lucene
Query that is the canonical set of permissions for viewable issues for the given user and collection of projects. |
org.apache.lucene.search.Query getQuery(ApplicationUser searcher)
getQuery(ApplicationUser, Collection)
instead, since 7.10Query
that is the canonical set of permissions for viewable issues for the given user.
This query can then be used to filter out impermissible documents from a lucene search.searcher
- the user performing the searchorg.apache.lucene.search.Query getQuery(ApplicationUser searcher, @Nonnull Collection<Project> projects)
Query
that is the canonical set of permissions for viewable issues for the given user and collection of projects.
This query can then be used to filter out impermissible documents from a lucene search.searcher
- the user performing the searchprojects
- the projects that are subject to searchCopyright © 2002-2019 Atlassian. All Rights Reserved.