java.lang.Object | |
↳ | com.atlassian.jira.jql.query.QueryProjectRoleAndGroupPermissionsDecorator |
A component that can add project role and group permission checks to lucene queries.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
matchNoDocsQuery |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Append the permission query to the passed query.
| |||||||||||
Creates the lucene query that will restrict the results to only elements that are visible to the user
based on the query creation context and elements' group and role visibility levels.
| |||||||||||
Takes a worklog index query and adds some necessary permission checks to it.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object |
Append the permission query to the passed query.
queryCreationContext | the context of query creation |
---|---|
groupLevelField | the name of the lucene document field which represents the group level visibility |
roleLevelField | the name of the lucene document field which represents the role level visibility |
Creates the lucene query that will restrict the results to only elements that are visible to the user based on the query creation context and elements' group and role visibility levels.
queryCreationContext | the context of query creation |
---|---|
groupLevelField | the name of the lucene document field which represents the group level visibility |
roleLevelField | the name of the lucene document field which represents the role level visibility |
Takes a worklog index query and adds some necessary permission checks to it.
query | worklog query |
---|---|
queryCreationContext | query context |