Modifier and Type | Method and Description |
---|---|
List<ApplicationUser> |
DefaultUserPickerSearchService.findTopUsers(String searchName,
UserSearchIssueContext userSearchIssueContext,
int topN,
ProjectPermissionKey projectPermission) |
List<ApplicationUser> |
UserSearchService.findTopUsers(String searchName,
UserSearchIssueContext userSearchIssueContext,
int topN,
ProjectPermissionKey projectPermission) |
List<ApplicationUser> |
DefaultUserPickerSearchService.findTopUsers(String searchName,
UserSearchIssueContext userSearchIssueContext,
int topN,
ProjectPermissionKey projectPermission,
boolean forceReporterAndAssignee) |
List<ApplicationUser> |
UserSearchService.findTopUsers(String searchName,
UserSearchIssueContext userSearchIssueContext,
int topN,
ProjectPermissionKey projectPermission,
boolean forceReporterAndAssignee) |
Modifier and Type | Method and Description |
---|---|
com.opensymphony.workflow.loader.ConditionDescriptor |
DefaultWorkflowConditionDescriptorFactory.permission(ProjectPermissionKey key) |
com.opensymphony.workflow.loader.ConditionDescriptor |
WorkflowConditionDescriptorFactory.permission(ProjectPermissionKey key)
Creates an instance of
ConditionDescriptor that checks for a project permission. |
Modifier and Type | Method and Description |
---|---|
ProjectPermissionOverride.Reason |
CantEditIssueProjectPermissionOverride.getReason(ProjectPermissionKey projectPermissionKey,
Project project,
ApplicationUser applicationUser) |
ProjectPermissionOverride.Reason |
CantCommentProjectPermissionOverride.getReason(ProjectPermissionKey projectPermissionKey,
Project project,
ApplicationUser applicationUser) |
ProjectPermissionOverride.Reason |
CantTransitionIssueProjectPermissionOverride.getReason(ProjectPermissionKey projectPermissionKey,
Project project,
ApplicationUser applicationUser) |
ProjectPermissionOverride.Decision |
CantEditIssueProjectPermissionOverride.hasPermission(ProjectPermissionKey projectPermissionKey,
Project project,
ApplicationUser applicationUser) |
ProjectPermissionOverride.Decision |
CantCommentProjectPermissionOverride.hasPermission(ProjectPermissionKey projectPermissionKey,
Project project,
ApplicationUser applicationUser) |
ProjectPermissionOverride.Decision |
CantTransitionIssueProjectPermissionOverride.hasPermission(ProjectPermissionKey projectPermissionKey,
Project project,
ApplicationUser applicationUser) |
Modifier and Type | Method and Description |
---|---|
void |
PermissionSchemesBackdoorImpl.addPermission(ProjectPermissionKey permission,
JiraPermissionHolderType type,
String parameter)
Deprecated.
|
void |
PermissionSchemesImpl.grantPermissionToApplicationRole(ProjectPermissionKey permission,
String applicationRoleId)
Deprecated.
|
void |
PermissionSchemesBackdoorImpl.grantPermissionToApplicationRole(ProjectPermissionKey permission,
String applicationRoleId)
Deprecated.
|
void |
PermissionSchemes.PermissionScheme.grantPermissionToApplicationRole(ProjectPermissionKey permission,
String applicationRoleId) |
void |
PermissionSchemesImpl.grantPermissionToCurrentAssignee(ProjectPermissionKey permission)
Deprecated.
|
void |
PermissionSchemesBackdoorImpl.grantPermissionToCurrentAssignee(ProjectPermissionKey permission)
Deprecated.
|
void |
PermissionSchemes.PermissionScheme.grantPermissionToCurrentAssignee(ProjectPermissionKey permission) |
void |
PermissionSchemesImpl.grantPermissionToGroup(ProjectPermissionKey permission,
String groupName)
Deprecated.
|
void |
PermissionSchemesBackdoorImpl.grantPermissionToGroup(ProjectPermissionKey permission,
String groupName)
Deprecated.
|
void |
PermissionSchemes.PermissionScheme.grantPermissionToGroup(ProjectPermissionKey permission,
String groupName) |
void |
PermissionSchemesImpl.grantPermissionToGroupCustomFieldValue(ProjectPermissionKey permission,
String customFieldId)
Deprecated.
|
void |
PermissionSchemesBackdoorImpl.grantPermissionToGroupCustomFieldValue(ProjectPermissionKey permission,
String customFieldId)
Deprecated.
|
void |
PermissionSchemes.PermissionScheme.grantPermissionToGroupCustomFieldValue(ProjectPermissionKey permission,
String customFieldId) |
void |
PermissionSchemesImpl.grantPermissionToProjectLead(ProjectPermissionKey permission)
Deprecated.
|
void |
PermissionSchemesBackdoorImpl.grantPermissionToProjectLead(ProjectPermissionKey permission)
Deprecated.
|
void |
PermissionSchemes.PermissionScheme.grantPermissionToProjectLead(ProjectPermissionKey permission) |
void |
PermissionSchemesImpl.grantPermissionToProjectRole(ProjectPermissionKey permission,
String projectRoleId)
Deprecated.
|
void |
PermissionSchemesBackdoorImpl.grantPermissionToProjectRole(ProjectPermissionKey permission,
String projectRoleId)
Deprecated.
|
void |
PermissionSchemes.PermissionScheme.grantPermissionToProjectRole(ProjectPermissionKey permission,
String projectRoleId) |
void |
PermissionSchemesImpl.grantPermissionToReporter(ProjectPermissionKey permission)
Deprecated.
|
void |
PermissionSchemesBackdoorImpl.grantPermissionToReporter(ProjectPermissionKey permission)
Deprecated.
|
void |
PermissionSchemes.PermissionScheme.grantPermissionToReporter(ProjectPermissionKey permission) |
void |
PermissionSchemesImpl.grantPermissionToSingleUser(ProjectPermissionKey permission,
String username)
Deprecated.
|
void |
PermissionSchemesBackdoorImpl.grantPermissionToSingleUser(ProjectPermissionKey permission,
String username)
Deprecated.
|
void |
PermissionSchemes.PermissionScheme.grantPermissionToSingleUser(ProjectPermissionKey permission,
String username) |
void |
PermissionSchemesImpl.grantPermissionToUserCustomFieldValue(ProjectPermissionKey permission,
String customFieldId)
Deprecated.
|
void |
PermissionSchemesBackdoorImpl.grantPermissionToUserCustomFieldValue(ProjectPermissionKey permission,
String customFieldId)
Deprecated.
|
void |
PermissionSchemes.PermissionScheme.grantPermissionToUserCustomFieldValue(ProjectPermissionKey permission,
String customFieldId) |
void |
PermissionSchemesImpl.removePermission(ProjectPermissionKey permissionType,
String permissionParam)
Deprecated.
|
void |
PermissionSchemesBackdoorImpl.removePermission(ProjectPermissionKey permissionType,
String permissionParam)
Deprecated.
|
void |
PermissionSchemes.PermissionScheme.removePermission(ProjectPermissionKey permissionType,
String permissionParam) |
Modifier and Type | Method and Description |
---|---|
ManagedPermissions |
ManagedPermissions.add(ProjectPermissionKey permissionKey) |
ManagedPermissions |
ManagedPermissions.remove(ProjectPermissionKey permissionKey) |
Modifier and Type | Method and Description |
---|---|
List<SuggestionGroupBean> |
ProjectSuggestionProviderImpl.getProjectPickerSuggestions(ProjectPermissionKey permission,
Optional<Long> selectedProject,
boolean includeRecent) |
List<SuggestionGroupBean> |
ProjectSuggestionProvider.getProjectPickerSuggestions(ProjectPermissionKey permission,
Optional<Long> selectedProject,
boolean includeRecent)
Returns a list of SuggestionGroupBeans containing all the projects the current user can access with the provided
permission.
|
Modifier and Type | Method and Description |
---|---|
org.apache.lucene.search.Query |
DefaultPermissionQueryFactory.getQuery(ApplicationUser searcher,
ProjectPermissionKey permissionKey) |
org.apache.lucene.search.Query |
PermissionQueryFactory.getQuery(ApplicationUser searcher,
ProjectPermissionKey permissionKey)
Deprecated.
|
org.apache.lucene.search.Query |
DefaultPermissionQueryFactory.getQuery(ApplicationUser searcher,
ProjectPermissionKey permissionKey,
Collection<Project> searchedProjects) |
org.apache.lucene.search.Query |
PermissionQueryFactory.getQuery(ApplicationUser searcher,
ProjectPermissionKey permissionKey,
Collection<Project> searchedProjects)
Generate a permission query for a specific permission on given collection of projects.
|
Modifier and Type | Method and Description |
---|---|
List<String> |
SchemePermissionsDAOWithStats.findGroupsFromApplicationRole(long schemeId,
ProjectPermissionKey projectPermissionKey) |
List<String> |
SchemePermissionsDAOWithStats.findGroupsFromGroupCF(long schemeId,
long issueId,
ProjectPermissionKey projectPermissionKey) |
List<String> |
SchemePermissionsDAOWithStats.findGroupsFromSelectCF(long schemeId,
long issueId,
ProjectPermissionKey projectPermissionKey) |
List<String> |
SchemePermissionsDAOWithStats.findGroupsFromTypeGroup(long schemeId,
ProjectPermissionKey projectPermissionKey) |
List<String> |
SchemePermissionsDAOWithStats.findGroupsFromTypeProjectRoleGroup(long schemeId,
long projectId,
ProjectPermissionKey projectPermissionKey) |
List<UserDTO> |
SchemePermissionsDAOWithStats.findTopUsersFromTypeProjectRoleUsers(String userSearchName,
long schemeId,
long projectId,
ProjectPermissionKey projectPermissionKey,
int topN) |
List<UserDTO> |
SchemePermissionsDAOWithStats.findTopUsersFromTypeUser(String userSearchName,
long schemeId,
ProjectPermissionKey projectPermissionKey,
int topN) |
List<UserDTO> |
SchemePermissionsDAOWithStats.findTopUsersFromUserCF(String userSearchName,
long schemeId,
long issueId,
ProjectPermissionKey projectPermissionKey,
int topN) |
List<SchemePermissionsDTO> |
SchemePermissionsDAOWithStats.getSchemePermissions(long schemeId,
ProjectPermissionKey projectPermissionKey) |
Modifier and Type | Method and Description |
---|---|
boolean |
MockPermissionManager.hasPermission(ProjectPermissionKey projectPermissionKey,
Project project,
ApplicationUser user) |
boolean |
MockPermissionManager.hasPermission(ProjectPermissionKey projectPermissionKey,
Project project,
ApplicationUser user,
boolean issueCreation) |
Modifier and Type | Method and Description |
---|---|
EditPermissionsSinglePage.PermissionsEntry |
EditPermissionsSinglePage.getPermissionEntry(ProjectPermissionKey projectPermissionKey)
Get the container for a given permission key
|
boolean |
EditPermissionsSinglePage.hasPermissionEntry(ProjectPermissionKey projectPermissionKey)
Determines whether an entry exists for the specified permission.
|
Modifier and Type | Field and Description |
---|---|
static com.google.common.collect.BiMap<Integer,ProjectPermissionKey> |
LegacyProjectPermissionKeyMapping.ID_TO_KEY |
Modifier and Type | Method and Description |
---|---|
static ProjectPermissionKey |
LegacyProjectPermissionKeyMapping.getKey(Integer id) |
static ProjectPermissionKey |
LegacyProjectPermissionKeyMapping.getKey(Long id) |
ProjectPermissionKey |
PermissionGrant.getPermission()
Returns a permission that is being granted.
|
ProjectPermissionKey |
PermissionGrantInput.getPermission() |
ProjectPermissionKey |
PermissionSchemeLogicImpl.getPermissionKey() |
ProjectPermissionKey |
PermissionSchemeLogic.getPermissionKey() |
ProjectPermissionKey |
MockProjectPermission.getProjectPermissionKey() |
ProjectPermissionKey |
ProjectPermission.getProjectPermissionKey() |
static ProjectPermissionKey |
ProjectPermissions.systemProjectPermissionKeyByShortName(String name)
Historically system project permissions had short name aliases that are used in
workflow condition/validator descriptors, gadget configurations etc.
|
Modifier and Type | Method and Description |
---|---|
static io.atlassian.fugue.Option<ProjectPermissionKey> |
PermissionSchemeUtil.getPermissionKey(SchemeEntity schemeEntity)
Retrieves a permission key from a scheme entity's
entityTypeId field. |
Modifier and Type | Method and Description |
---|---|
boolean |
WorkflowPermission.allows(ProjectPermissionKey permission,
Issue issue,
ApplicationUser user)
Whether this workflow permission allows a permission.
|
boolean |
DenyWorkflowPermission.allows(ProjectPermissionKey permission,
Issue issue,
ApplicationUser user) |
boolean |
DefaultWorkflowPermission.allows(ProjectPermissionKey permission,
Issue issue,
ApplicationUser user) |
WorkflowPermission |
WorkflowPermissionFactory.createWorkflowPermission(ProjectPermissionKey relevantPermission,
boolean isParent,
String metaKey,
String metaValue)
Create a
DefaultWorkflowPermission from a meta attribute key:value pair if it grants a certain permission |
List<String> |
QueryDSLSchemePermissionsDAO.findGroupsFromApplicationRole(long schemeId,
ProjectPermissionKey permissionKey) |
List<String> |
SchemePermissionsDAO.findGroupsFromApplicationRole(long schemeId,
ProjectPermissionKey permissionKey)
Handling
JiraPermissionHolderType.APPLICATION_ROLE with not null parameter |
List<String> |
QueryDSLSchemePermissionsDAO.findGroupsFromGroupCF(long schemeId,
long issueId,
ProjectPermissionKey projectPermissionKey) |
List<String> |
SchemePermissionsDAO.findGroupsFromGroupCF(long schemeId,
long issueId,
ProjectPermissionKey projectPermissionKey)
|
List<String> |
QueryDSLSchemePermissionsDAO.findGroupsFromSelectCF(long schemeId,
long issueId,
ProjectPermissionKey projectPermissionKey) |
List<String> |
SchemePermissionsDAO.findGroupsFromSelectCF(long schemeId,
long issueId,
ProjectPermissionKey projectPermissionKey) |
List<String> |
QueryDSLSchemePermissionsDAO.findGroupsFromTypeGroup(long schemeId,
ProjectPermissionKey projectPermissionKey)
Note that same group may be defined in different directories, so the list may contain duplicates.
|
List<String> |
SchemePermissionsDAO.findGroupsFromTypeGroup(long schemeId,
ProjectPermissionKey projectPermissionKey)
Handling
JiraPermissionHolderType.GROUP with non-null parameter |
List<String> |
QueryDSLSchemePermissionsDAO.findGroupsFromTypeProjectRoleGroup(long schemeId,
long projectId,
ProjectPermissionKey projectPermissionKey)
Note that same group may be defined in different directories, so the list may contain duplicates.
|
List<String> |
SchemePermissionsDAO.findGroupsFromTypeProjectRoleGroup(long schemeId,
long projectId,
ProjectPermissionKey projectPermissionKey)
|
List<ApplicationUser> |
DefaultIssueUserSearchManager.findTopUsers(String searchName,
UserSearchIssueContext userSearchIssueContext,
int topN,
ProjectPermissionKey permissionKey,
boolean forceReporterAndAssignee) |
List<ApplicationUser> |
IssueUserSearchManager.findTopUsers(String searchName,
UserSearchIssueContext userSearchIssueContext,
int topN,
ProjectPermissionKey permissionKey,
boolean forceReporterAndAssignee) |
List<UserDTO> |
QueryDSLSchemePermissionsDAO.findTopUsersFromTypeProjectRoleUsers(String userSearchName,
long schemeId,
long projectId,
ProjectPermissionKey projectPermissionKey,
int topN) |
List<UserDTO> |
SchemePermissionsDAO.findTopUsersFromTypeProjectRoleUsers(String userSearchName,
long schemeId,
long projectId,
ProjectPermissionKey projectPermissionKey,
int topN)
|
List<UserDTO> |
QueryDSLSchemePermissionsDAO.findTopUsersFromTypeUser(String userSearchName,
long schemeId,
ProjectPermissionKey projectPermissionKey,
int topN) |
List<UserDTO> |
SchemePermissionsDAO.findTopUsersFromTypeUser(String userSearchName,
long schemeId,
ProjectPermissionKey projectPermissionKey,
int topN)
Handling
JiraPermissionHolderType.USER |
List<UserDTO> |
QueryDSLSchemePermissionsDAO.findTopUsersFromUserCF(String userSearchName,
long schemeId,
long issueId,
ProjectPermissionKey projectPermissionKey,
int topN) |
List<UserDTO> |
SchemePermissionsDAO.findTopUsersFromUserCF(String userSearchName,
long schemeId,
long issueId,
ProjectPermissionKey projectPermissionKey,
int topN)
|
List<org.ofbiz.core.entity.GenericValue> |
DefaultPermissionSchemeManager.getEntities(org.ofbiz.core.entity.GenericValue scheme,
ProjectPermissionKey permissionKey) |
List<org.ofbiz.core.entity.GenericValue> |
PermissionSchemeManager.getEntities(org.ofbiz.core.entity.GenericValue scheme,
ProjectPermissionKey permissionKey)
Deprecated.
|
List<org.ofbiz.core.entity.GenericValue> |
DefaultPermissionSchemeManager.getEntities(org.ofbiz.core.entity.GenericValue scheme,
ProjectPermissionKey permissionKey,
String parameter) |
List<org.ofbiz.core.entity.GenericValue> |
PermissionSchemeManager.getEntities(org.ofbiz.core.entity.GenericValue scheme,
ProjectPermissionKey permissionKey,
String parameter)
Deprecated.
|
List<org.ofbiz.core.entity.GenericValue> |
DefaultPermissionSchemeManager.getEntities(org.ofbiz.core.entity.GenericValue scheme,
ProjectPermissionKey permissionKey,
String type,
String parameter) |
List<org.ofbiz.core.entity.GenericValue> |
PermissionSchemeManager.getEntities(org.ofbiz.core.entity.GenericValue scheme,
ProjectPermissionKey permissionKey,
String type,
String parameter)
Deprecated.
|
List<org.ofbiz.core.entity.GenericValue> |
DefaultPermissionSchemeManager.getEntitiesByType(org.ofbiz.core.entity.GenericValue scheme,
ProjectPermissionKey permissionKey,
String type) |
List<org.ofbiz.core.entity.GenericValue> |
PermissionSchemeManager.getEntitiesByType(org.ofbiz.core.entity.GenericValue scheme,
ProjectPermissionKey permissionKey,
String type)
Deprecated.
|
Collection<com.atlassian.crowd.embedded.api.Group> |
DefaultPermissionSchemeManager.getGroups(ProjectPermissionKey permissionKey,
Project project) |
Collection<com.atlassian.crowd.embedded.api.Group> |
PermissionSchemeManager.getGroups(ProjectPermissionKey permissionKey,
Project project) |
static Integer |
LegacyProjectPermissionKeyMapping.getId(ProjectPermissionKey key) |
static Long |
LegacyProjectPermissionKeyMapping.getIdAsLong(ProjectPermissionKey key) |
Collection<PermissionSchemeEntry> |
DefaultPermissionSchemeManager.getPermissionSchemeEntries(long schemeId,
ProjectPermissionKey permissionKey) |
Collection<PermissionSchemeEntry> |
PermissionSchemeManager.getPermissionSchemeEntries(long schemeId,
ProjectPermissionKey permissionKey)
Returns the PermissionSchemeEntries for the given Permission Scheme and ProjectPermissionKey.
|
Collection<PermissionSchemeEntry> |
DefaultPermissionSchemeManager.getPermissionSchemeEntries(long schemeId,
ProjectPermissionKey permissionKey,
String type) |
Collection<PermissionSchemeEntry> |
PermissionSchemeManager.getPermissionSchemeEntries(long schemeId,
ProjectPermissionKey permissionKey,
String type)
Returns the PermissionSchemeEntries for the given Permission Scheme and ProjectPermissionKey.
|
Collection<PermissionSchemeEntry> |
DefaultPermissionSchemeManager.getPermissionSchemeEntries(Scheme scheme,
ProjectPermissionKey permissionKey) |
Collection<PermissionSchemeEntry> |
PermissionSchemeManager.getPermissionSchemeEntries(Scheme scheme,
ProjectPermissionKey permissionKey)
Returns the PermissionSchemeEntries for the given Permission Scheme and ProjectPermissionKey.
|
List<SchemePermissionsDTO> |
QueryDSLSchemePermissionsDAO.getSchemePermissions(long schemeId,
ProjectPermissionKey projectPermissionKey) |
List<SchemePermissionsDTO> |
SchemePermissionsDAO.getSchemePermissions(long schemeId,
ProjectPermissionKey projectPermissionKey) |
Collection<ApplicationUser> |
DefaultPermissionSchemeManager.getUsers(ProjectPermissionKey permissionKey,
PermissionContext ctx) |
Collection<ApplicationUser> |
WorkflowBasedPermissionSchemeManager.getUsers(ProjectPermissionKey permissionKey,
PermissionContext ctx) |
Collection<ApplicationUser> |
PermissionSchemeManager.getUsers(ProjectPermissionKey permissionKey,
PermissionContext ctx) |
List<WorkflowPermission> |
WorkflowPermissionFactory.getWorkflowPermissions(PermissionContext ctx,
ProjectPermissionKey permissionId,
boolean isParent) |
ProjectWidePermission |
DefaultPermissionSchemeManager.hasProjectWidePermission(ProjectPermissionKey permissionKey,
Project project,
ApplicationUser user,
boolean issueCreation) |
ProjectWidePermission |
PermissionSchemeManager.hasProjectWidePermission(ProjectPermissionKey permissionKey,
Project project,
ApplicationUser user,
boolean issueCreation) |
boolean |
DefaultPermissionSchemeManager.hasSchemePermission(ProjectPermissionKey permissionKey,
Issue issue) |
boolean |
PermissionSchemeManager.hasSchemePermission(ProjectPermissionKey permissionKey,
Issue issue)
Checks anonymous permission of the given permission type for the given issue.
|
boolean |
DefaultPermissionSchemeManager.hasSchemePermission(ProjectPermissionKey permissionKey,
Issue issue,
ApplicationUser user,
boolean issueCreation) |
boolean |
PermissionSchemeManager.hasSchemePermission(ProjectPermissionKey permissionKey,
Issue issue,
ApplicationUser user,
boolean issueCreation)
Checks the given user's permission of the given permission type for the given issue.
|
boolean |
DefaultPermissionSchemeManager.hasSchemePermission(ProjectPermissionKey permissionKey,
Project project) |
boolean |
PermissionSchemeManager.hasSchemePermission(ProjectPermissionKey permissionKey,
Project project)
Checks anonymous permission of the given permission type for the given project.
|
boolean |
DefaultPermissionSchemeManager.hasSchemePermission(ProjectPermissionKey permissionKey,
Project project,
ApplicationUser user,
boolean issueCreation) |
boolean |
PermissionSchemeManager.hasSchemePermission(ProjectPermissionKey permissionKey,
Project project,
ApplicationUser user,
boolean issueCreation)
Checks the given user's permission of the given permission type for the given project.
|
static PermissionGrantInput |
PermissionGrantInput.newGrant(PermissionHolder holder,
ProjectPermissionKey permissionKey)
Creates a new instance of this class.
|
Constructor and Description |
---|
DefaultWorkflowPermission(ProjectPermissionKey permission,
SecurityType grantType,
String value,
boolean isParentPermission) |
DenyWorkflowPermission(ProjectPermissionKey projectPermissionKey) |
Modifier and Type | Method and Description |
---|---|
ProjectPermissionKey |
PermissionGrantImpl.getPermission() |
Constructor and Description |
---|
PermissionGrantImpl(Long id,
PermissionHolder holder,
ProjectPermissionKey permission) |
Modifier and Type | Method and Description |
---|---|
static Collection<ProjectPermissionKey> |
ProjectPermissionModuleDescriptorImpl.systemProjectPermissionKeys() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
UserIsAdminOrHasVisibleProjectsCondition.shouldDisplay(ApplicationUser user,
JiraHelper jiraHelper,
ProjectPermissionKey permissionKey) |
protected boolean |
UserHasVisibleProjectsCondition.shouldDisplay(ApplicationUser user,
JiraHelper jiraHelper,
ProjectPermissionKey permissionKey) |
protected boolean |
HasIssuePermissionCondition.shouldDisplay(ApplicationUser user,
JiraHelper jiraHelper,
ProjectPermissionKey permissionKey) |
protected boolean |
HasProjectPermissionCondition.shouldDisplay(ApplicationUser user,
JiraHelper jiraHelper,
ProjectPermissionKey permissionKey) |
protected abstract boolean |
AbstractProjectPermissionCondition.shouldDisplay(ApplicationUser user,
JiraHelper jiraHelper,
ProjectPermissionKey permissionKey) |
Modifier and Type | Method and Description |
---|---|
static ConditionCacheKey |
ConditionCacheKeys.permission(ProjectPermissionKey permission,
ApplicationUser user,
Object... args) |
Constructor and Description |
---|
UserPermissionJsonBean(ProjectPermissionKey permissionKey,
String name,
String description,
boolean havePermission) |
Modifier and Type | Method and Description |
---|---|
boolean |
SchemeType.isValidForPermission(ProjectPermissionKey permissionKey)
This method determines if this SchemeType is valid for the given permissionKey.
|
Modifier and Type | Method and Description |
---|---|
boolean |
MockProjectPermissionTypesManager.exists(ProjectPermissionKey key) |
protected Collection<Project> |
DefaultPermissionManager.getArchivedProjectObjects(ProjectPermissionKey permissionKey,
ApplicationUser user) |
Collection<Project> |
ApplicationRequiredPermissionManager.getArchivedProjects(ProjectPermissionKey permissionKey,
ApplicationUser user) |
Collection<Project> |
SubvertedPermissionManager.getArchivedProjects(ProjectPermissionKey permissionKey,
ApplicationUser user) |
Collection<Project> |
DefaultPermissionManager.getArchivedProjects(ProjectPermissionKey permissionKey,
ApplicationUser user) |
Collection<Project> |
PublicAccessPermissionManager.getArchivedProjects(ProjectPermissionKey permissionKey,
ApplicationUser user) |
Collection<Project> |
PermissionManager.getArchivedProjects(ProjectPermissionKey permissionKey,
ApplicationUser user)
Retrieve a list of archived project objects this user has the permission for
|
Collection<Project> |
ThreadLocalCachingPermissionManager.getProjectObjects(ProjectPermissionKey permissionKey,
ApplicationUser user) |
protected Collection<Project> |
DefaultPermissionManager.getProjectObjects(ProjectPermissionKey permissionKey,
ApplicationUser user) |
io.atlassian.fugue.Option<ProjectPermission> |
ApplicationRequiredPermissionManager.getProjectPermission(ProjectPermissionKey permissionKey) |
io.atlassian.fugue.Option<ProjectPermission> |
SubvertedPermissionManager.getProjectPermission(ProjectPermissionKey permissionKey) |
io.atlassian.fugue.Option<ProjectPermission> |
DefaultPermissionManager.getProjectPermission(ProjectPermissionKey permissionKey) |
io.atlassian.fugue.Option<ProjectPermission> |
PublicAccessPermissionManager.getProjectPermission(ProjectPermissionKey permissionKey) |
io.atlassian.fugue.Option<ProjectPermission> |
PermissionManager.getProjectPermission(ProjectPermissionKey permissionKey)
Returns a project permission matching the specified key.
|
Collection<Project> |
ApplicationRequiredPermissionManager.getProjects(ProjectPermissionKey permissionKey,
ApplicationUser user) |
Collection<Project> |
SubvertedPermissionManager.getProjects(ProjectPermissionKey permissionKey,
ApplicationUser user) |
Collection<Project> |
DefaultPermissionManager.getProjects(ProjectPermissionKey permissionKey,
ApplicationUser user) |
Collection<Project> |
PublicAccessPermissionManager.getProjects(ProjectPermissionKey permissionKey,
ApplicationUser user) |
Collection<Project> |
PermissionManager.getProjects(ProjectPermissionKey permissionKey,
ApplicationUser user)
Retrieve a list of project objects this user has the permission for
|
Collection<Project> |
ApplicationRequiredPermissionManager.getProjects(ProjectPermissionKey permissionKey,
ApplicationUser user,
ProjectCategory projectCategory) |
Collection<Project> |
SubvertedPermissionManager.getProjects(ProjectPermissionKey permissionKey,
ApplicationUser user,
ProjectCategory projectCategory) |
Collection<Project> |
DefaultPermissionManager.getProjects(ProjectPermissionKey permissionKey,
ApplicationUser user,
ProjectCategory projectCategory) |
Collection<Project> |
PublicAccessPermissionManager.getProjects(ProjectPermissionKey permissionKey,
ApplicationUser user,
ProjectCategory projectCategory) |
Collection<Project> |
PermissionManager.getProjects(ProjectPermissionKey permissionKey,
ApplicationUser user,
ProjectCategory projectCategory)
Returns the list of projects associated with the specified category, that this user has the permissions for.
|
boolean |
ApplicationRequiredPermissionManager.hasPermission(ProjectPermissionKey permissionKey,
Issue issue,
ApplicationUser user) |
boolean |
SubvertedPermissionManager.hasPermission(ProjectPermissionKey permissionKey,
Issue issue,
ApplicationUser user) |
boolean |
DefaultPermissionManager.hasPermission(ProjectPermissionKey permissionKey,
Issue issue,
ApplicationUser user) |
boolean |
PublicAccessPermissionManager.hasPermission(ProjectPermissionKey permissionKey,
Issue issue,
ApplicationUser user) |
boolean |
WorkflowBasedPermissionManager.hasPermission(ProjectPermissionKey permissionsKey,
Issue issue,
ApplicationUser user) |
boolean |
PermissionManager.hasPermission(ProjectPermissionKey permissionKey,
Issue issue,
ApplicationUser user)
Checks to see if this user has permission to see the specified issue.
|
boolean |
ApplicationRequiredPermissionManager.hasPermission(ProjectPermissionKey permissionKey,
Issue issue,
ApplicationUser user,
com.opensymphony.workflow.loader.ActionDescriptor actionDescriptor) |
boolean |
SubvertedPermissionManager.hasPermission(ProjectPermissionKey permissionKey,
Issue issue,
ApplicationUser user,
com.opensymphony.workflow.loader.ActionDescriptor actionDescriptor) |
boolean |
DefaultPermissionManager.hasPermission(ProjectPermissionKey permissionKey,
Issue issue,
ApplicationUser user,
com.opensymphony.workflow.loader.ActionDescriptor actionDescriptor) |
boolean |
PublicAccessPermissionManager.hasPermission(ProjectPermissionKey permissionKey,
Issue issue,
ApplicationUser user,
com.opensymphony.workflow.loader.ActionDescriptor actionDescriptor) |
boolean |
WorkflowBasedPermissionManager.hasPermission(ProjectPermissionKey permissionKey,
Issue issue,
ApplicationUser user,
com.opensymphony.workflow.loader.ActionDescriptor actionDescriptor) |
boolean |
PermissionManager.hasPermission(ProjectPermissionKey permissionKey,
Issue issue,
ApplicationUser user,
com.opensymphony.workflow.loader.ActionDescriptor actionDescriptor)
Checks to see if this user has the given permission to the specified issue after the given workflow transition takes effect.
|
boolean |
ApplicationRequiredPermissionManager.hasPermission(ProjectPermissionKey permissionKey,
Issue issue,
ApplicationUser user,
Status status) |
boolean |
SubvertedPermissionManager.hasPermission(ProjectPermissionKey permissionKey,
Issue issue,
ApplicationUser user,
Status status) |
boolean |
DefaultPermissionManager.hasPermission(ProjectPermissionKey permissionKey,
Issue issue,
ApplicationUser user,
Status status) |
boolean |
PublicAccessPermissionManager.hasPermission(ProjectPermissionKey permissionKey,
Issue issue,
ApplicationUser user,
Status status) |
boolean |
WorkflowBasedPermissionManager.hasPermission(ProjectPermissionKey permissionKey,
Issue issue,
ApplicationUser user,
Status status) |
boolean |
PermissionManager.hasPermission(ProjectPermissionKey permissionKey,
Issue issue,
ApplicationUser user,
Status status)
Checks to see if this user has the given permission to the specified issue if the issue was in the given status.
|
boolean |
ApplicationRequiredPermissionManager.hasPermission(ProjectPermissionKey permissionKey,
Project project,
ApplicationUser user) |
boolean |
SubvertedPermissionManager.hasPermission(ProjectPermissionKey permissionKey,
Project project,
ApplicationUser user) |
boolean |
ThreadLocalCachingPermissionManager.hasPermission(ProjectPermissionKey permissionKey,
Project project,
ApplicationUser user) |
boolean |
DefaultPermissionManager.hasPermission(ProjectPermissionKey permissionKey,
Project project,
ApplicationUser user) |
boolean |
PublicAccessPermissionManager.hasPermission(ProjectPermissionKey permissionKey,
Project project,
ApplicationUser user) |
boolean |
DefaultInternalProjectPermissionHelper.hasPermission(ProjectPermissionKey permissionKey,
Project project,
ApplicationUser user) |
boolean |
InternalProjectPermissionHelper.hasPermission(ProjectPermissionKey permissionKey,
Project project,
ApplicationUser user)
Permission checker method that differentiates the behaviour only for 'BROWSE_PROJECTS'.
|
boolean |
WorkflowBasedPermissionManager.hasPermission(ProjectPermissionKey permissionsKey,
Project project,
ApplicationUser user) |
boolean |
PermissionManager.hasPermission(ProjectPermissionKey permissionKey,
Project project,
ApplicationUser user)
Checks whether the specified user has a specified permission within the context of a specified project.
|
boolean |
ApplicationRequiredPermissionManager.hasPermission(ProjectPermissionKey permissionKey,
Project project,
ApplicationUser user,
boolean issueCreation) |
boolean |
SubvertedPermissionManager.hasPermission(ProjectPermissionKey permissionKey,
Project project,
ApplicationUser user,
boolean issueCreation) |
boolean |
DefaultPermissionManager.hasPermission(ProjectPermissionKey permissionKey,
Project project,
ApplicationUser user,
boolean issueCreation) |
boolean |
PublicAccessPermissionManager.hasPermission(ProjectPermissionKey permissionKey,
Project project,
ApplicationUser user,
boolean issueCreation) |
boolean |
WorkflowBasedPermissionManager.hasPermission(ProjectPermissionKey permissionsKey,
Project project,
ApplicationUser user,
boolean issueCreation) |
boolean |
PermissionManager.hasPermission(ProjectPermissionKey permissionKey,
Project project,
ApplicationUser user,
boolean issueCreation)
Checks whether the specified user has a specified permission within the context of a specified project.
|
boolean |
ApplicationRequiredPermissionManager.hasProjects(ProjectPermissionKey permissionKey,
ApplicationUser user) |
boolean |
SubvertedPermissionManager.hasProjects(ProjectPermissionKey permissionKey,
ApplicationUser user) |
boolean |
DefaultPermissionManager.hasProjects(ProjectPermissionKey permissionKey,
ApplicationUser user) |
boolean |
PublicAccessPermissionManager.hasProjects(ProjectPermissionKey permissionKey,
ApplicationUser user) |
boolean |
PermissionManager.hasProjects(ProjectPermissionKey permissionKey,
ApplicationUser user)
Can this user see at least one project with this permission
|
ProjectWidePermission |
ApplicationRequiredPermissionManager.hasProjectWidePermission(ProjectPermissionKey permissionKey,
Project project,
ApplicationUser user) |
ProjectWidePermission |
SubvertedPermissionManager.hasProjectWidePermission(ProjectPermissionKey permissionKey,
Project project,
ApplicationUser user) |
ProjectWidePermission |
DefaultPermissionManager.hasProjectWidePermission(ProjectPermissionKey permissionKey,
Project project,
ApplicationUser user) |
ProjectWidePermission |
PublicAccessPermissionManager.hasProjectWidePermission(ProjectPermissionKey permissionKey,
Project project,
ApplicationUser user) |
ProjectWidePermission |
PermissionManager.hasProjectWidePermission(ProjectPermissionKey permissionKey,
Project project,
ApplicationUser user)
Checks whether a user has a particular permission in the given project.
|
io.atlassian.fugue.Option<ProjectPermission> |
MockProjectPermissionTypesManager.withKey(ProjectPermissionKey key) |
Modifier and Type | Method and Description |
---|---|
boolean |
ProjectPermissionTypesManager.exists(ProjectPermissionKey permissionKey)
Returns a boolean value indicating whether a project permission
with the given key exists.
|
boolean |
ProjectPermissionTypesManagerImpl.exists(ProjectPermissionKey permissionKey) |
ProjectPermissionOverride.Reason |
ProjectPermissionOverride.getReason(ProjectPermissionKey projectPermissionKey,
Project project,
ApplicationUser applicationUser)
The implementation of this method should return a description explaining how does the permission overriding
affects if the user has permissions to the selected project.
|
boolean |
DefaultScopesRequestCacheDelegate.hasPermission(ProjectPermissionKey permission) |
boolean |
ScopesRequestCacheDelegate.hasPermission(ProjectPermissionKey permission) |
ProjectPermissionOverride.Decision |
ProjectPermissionOverride.hasPermission(ProjectPermissionKey projectPermissionKey,
Project project,
ApplicationUser applicationUser)
The implementation of this method is supposed to either deny permissions or abstain from decision if the user
has permissions to the selected project.
|
io.atlassian.fugue.Option<ProjectPermission> |
ProjectPermissionTypesManager.withKey(ProjectPermissionKey permissionKey)
Returns a project permission matching the specified key.
|
io.atlassian.fugue.Option<ProjectPermission> |
ProjectPermissionTypesManagerImpl.withKey(ProjectPermissionKey permissionKey) |
Modifier and Type | Method and Description |
---|---|
boolean |
AbstractSecurityType.isValidForPermission(ProjectPermissionKey permissionKey)
This abstract class will always return true for this method.
|
boolean |
CurrentAssigneeHasAssignablePermission.isValidForPermission(ProjectPermissionKey permissionKey)
Is valid for all permissions except "Assignable".
|
boolean |
CurrentReporterHasCreatePermission.isValidForPermission(ProjectPermissionKey permissionKey)
Is valid for all permissions except "Create Issue".
|
Modifier and Type | Method and Description |
---|---|
boolean |
JiraWebActionSupport.hasIssuePermission(ProjectPermissionKey projectPermissionKey,
Issue issue) |
boolean |
JiraWebActionSupport.hasProjectPermission(ProjectPermissionKey projectPermissionKey,
Project project) |
Modifier and Type | Method and Description |
---|---|
boolean |
CommentAssignIssue.hasIssuePermission(ProjectPermissionKey permissionKey,
Issue issue) |
Modifier and Type | Method and Description |
---|---|
boolean |
DefaultAuthorizationSupport.hasIssuePermission(ProjectPermissionKey projectPermissionKey,
Issue issue) |
boolean |
AuthorizationSupport.hasIssuePermission(ProjectPermissionKey projectPermissionKey,
Issue issue)
Returns true if the logged in user has the given permission on the given Issue.
|
boolean |
DefaultAuthorizationSupport.hasProjectPermission(ProjectPermissionKey projectPermissionKey,
Project project) |
boolean |
AuthorizationSupport.hasProjectPermission(ProjectPermissionKey projectPermissionKey,
Project project)
Returns true if the logged in user has the given permission on the given project.
|
Modifier and Type | Field and Description |
---|---|
static com.google.common.collect.BiMap<Integer,ProjectPermissionKey> |
LegacyProjectPermissionKeyMapping.ID_TO_KEY |
Modifier and Type | Method and Description |
---|---|
static Integer |
LegacyProjectPermissionKeyMapping.getId(ProjectPermissionKey key) |
Modifier and Type | Method and Description |
---|---|
protected ProjectPermissionKey |
TestOptimisedUserSearchInMentions.getPermission() |
protected abstract ProjectPermissionKey |
TestOptimisedUserSearch.getPermission() |
protected ProjectPermissionKey |
TestOptimisedUserSearchInAssignees.getPermission() |
Modifier and Type | Method and Description |
---|---|
static ProjectPermissionKey |
WorkflowDescriptorUtil.resolvePermissionKey(Map<?,?> descriptorArgs)
Resolves the project permission key from the given workflow descriptor arguments.
|
Copyright © 2002-2024 Atlassian. All Rights Reserved.