Interface AuthorizationSupport
- All Known Implementing Classes:
A11yPersonalSettings
,AboutPage
,AbstractAddScheme
,AbstractAddWorkflowTransitionDescriptor
,AbstractAddWorkflowTransitionDescriptorParams
,AbstractAdministerFilter
,AbstractBrowser
,AbstractBulkOperationAction
,AbstractBulkOperationDetailsAction
,AbstractBulkWatchOperationAction
,AbstractCommentableAssignableIssue
,AbstractCommentableIssue
,AbstractConfigureFieldLayout
,AbstractConstantAction
,AbstractConvertIssue
,AbstractCopyScheme
,AbstractDashboardAdministration
,AbstractDeleteConstant
,AbstractDeleteScheme
,AbstractDeleteWorkflowTransitionDescriptor
,AbstractEditConfigurationItemAction
,AbstractEditConstant
,AbstractEditFieldLayoutItem
,AbstractEditFieldLayoutSchemeAction
,AbstractEditScheme
,AbstractEditWorkflowTransitionDescriptorParams
,AbstractFieldScreenSchemeAction
,AbstractFieldScreenSchemeItemAction
,AbstractFilterAction
,AbstractImportEntity
,AbstractImportIssue
,AbstractIssueLinkAction
,AbstractIssueSelectAction
,AbstractManagableOptionsAction
,AbstractManageIssueTypeOptionsAction
,AbstractManagePrioritiesAction
,AbstractPage
,AbstractPermissionCheckAction
,AbstractPluggableTabPanelAction
,AbstractPrioritySchemesAction
,AbstractProjectAction
,AbstractProjectAndSchemeAwareAction
,AbstractProjectImportProgress
,AbstractProjectImportUsersMissing
,AbstractProjectRole
,AbstractRoleActorAction
,AbstractSchemeAware
,AbstractSchemeAwareAction
,AbstractSelectProjectScheme
,AbstractSetupAction
,AbstractTrustedApplicationAction
,AbstractViewConstants
,AbstractViewIssue
,AbstractViewSchemes
,AbstractWorkflowAction
,AbstractWorkflowDraftResultAction
,AbstractWorkflowStep
,AbstractWorkflowTransition
,AbstractWorkflowTransitionAction
,AbstractWorklogAction
,AcknowledgeTask
,AddComment
,AddComponent
,AddFieldConfiguration
,AddFieldConfigurationScheme
,AddFieldScreenSchemeItem
,AddIssueSecurity
,AddIssueTypeScreenScheme
,AddIssueTypeScreenScreenSchemeAssociation
,AddIssueTypeToFieldConfigurationAssociation
,AddNewIssueTypeToScheme
,AddNotification
,AddPermission
,AddPortalPage
,AddPriorityScheme
,AddProjectCategory
,AddScheme
,AddScheme
,AddScheme
,AddScheme
,AddUser
,AddVersion
,AddWebLink
,AddWorkflowTransition
,AddWorkflowTransitionCondition
,AddWorkflowTransitionConditionParams
,AddWorkflowTransitionFunctionParams
,AddWorkflowTransitionPostFunction
,AddWorkflowTransitionValidator
,AddWorkflowTransitionValidatorParams
,AdjustFavourite
,AdminOnlyPermissionCheckAction
,AdvancedApplicationProperties
,AllUsersRememberMeCookies
,AnonymizeUser
,AnonymousSiteAccessPermissionCheckAction
,ApplicationAccess
,ArchiveIssue
,ArchiveProject
,AroundTheWorldPage
,AssignIssue
,AssociatedProjectsForCustomField
,AssociatedScreensForCustomField
,AssociateFieldToScreens
,AssociateIssueTypeSchemes
,AssociateIssueTypeSchemesWithDefault
,AssociatePriorityScheme
,AttachFile
,AttachTemporaryFile
,BasicJiraCreditsPage
,BrowseArchivedIssues
,BrowseProjects
,BulkArchive
,BulkCancelWizard
,BulkChooseOperation
,BulkDelete
,BulkEdit
,BulkEdit1
,BulkEditUserGroups
,BulkMigrate
,BulkMove
,BulkOperationProgress
,BulkUnwatch
,BulkWatch
,BulkWorkflowTransition
,CantBrowseCreatedIssue
,ChangePassword
,ChangeSharedDashboardOwner
,ChangeSharedFilterOwner
,ClearRememberMeCookies
,CloneIssueDetails
,CloneWorkflow
,CommentAssignIssue
,CommittedResponseExceptionThrowingAction
,ConfigureCrowdServer
,ConfigureCustomField
,ConfigureField
,ConfigureFieldLayout
,ConfigureFieldLayoutScheme
,ConfigureFieldScreen
,ConfigureFieldScreenScheme
,ConfigureIssueTypeOptionScheme
,ConfigureIssueTypeScreenScheme
,ConfigureLogging
,ConfigureOptionScheme
,ConfigurePortalPages
,ConfigurePriorityScheme
,ConfigureReport
,ConfirmNewInstallationWithOldLicense
,ContactAdministrators
,ConvertIssueToSubTask
,ConvertSubTaskToIssue
,CopyFieldLayout
,CopyFieldLayoutScheme
,CopyPriorityScheme
,CopyScheme
,CopyScheme
,CopyScheme
,CopyScheme
,CreateCustomField
,CreateDraftWorkflow
,CreateIssue
,CreateIssueDetails
,CreateSubTaskIssue
,CreateSubTaskIssueDetails
,CreateWorklog
,CurrentUsersList
,Dashboard
,DefaultAuthorizationSupport
,DeleteAttachment
,DeleteComment
,DeleteCustomField
,DeleteFilter
,DeleteGroup
,DeleteIssue
,DeleteIssueSecurity
,DeleteIssueSecurityLevel
,DeleteIssueType
,DeleteJobRunner
,DeleteLink
,DeleteLinkType
,DeleteNotification
,DeleteOptionScheme
,DeletePermission
,DeletePortalPage
,DeletePriority
,DeletePriorityScheme
,DeleteProject
,DeleteProjectCategory
,DeleteProjectRole
,DeleteRemoteIssueLink
,DeleteResolution
,DeleteScheme
,DeleteScheme
,DeleteScheme
,DeleteScheme
,DeleteScheme
,DeleteSharedDashboard
,DeleteSharedFilter
,DeleteStatus
,DeleteSubTaskIssueType
,DeleteTrustedApplication
,DeleteUser
,DeleteUserProperty
,DeleteWorkflowStep
,DeleteWorkflowTransitionCondition
,DeleteWorkflowTransitionPostFunction
,DeleteWorkflowTransitions
,DeleteWorkflowTransitionValidator
,DeleteWorklog
,DisableSubTasks
,EditAnnouncementBanner
,EditApplicationProperties
,EditAttachmentSettings
,EditAvatarSettings
,EditComment
,EditCrowdApplication
,EditCustomField
,EditCustomFieldDefaults
,EditCustomFieldOptions
,EditCustomFieldUserPickerFilter
,EditDarkFeatures
,EditDefaultDashboard
,EditDefaultFieldLayoutItem
,EditFieldLayout
,EditFieldLayoutItem
,EditFieldLayoutItemRenderer
,EditFieldLayoutItemRendererConfirmation
,EditFieldLayoutScheme
,EditFieldScreen
,EditFieldScreenScheme
,EditFieldScreenSchemeItem
,EditFilter
,EditIndexRecoverySettings
,EditIssue
,EditIssueSecurities
,EditIssueType
,EditIssueTypeScreenScheme
,EditLabels
,EditLevel
,EditLinkType
,EditListener
,EditLookAndFeel
,EditNestedGroups
,EditNotifications
,EditPortalPage
,EditPriority
,EditPriorityScheme
,EditProfile
,EditProject
,EditProjectCategory
,EditProjectLeadAndDefaultAssignee
,EditProjectRole
,EditReplicationSettings
,EditResolution
,EditScheme
,EditScheme
,EditScheme
,EditService
,EditStatus
,EditSubscription
,EditSubTaskIssueTypes
,EditTrustedApplication
,EditUser
,EditUserDefaultSettings
,EditUserGroups
,EditUserProjectRoles
,EditUserProperties
,EditUserProperty
,EditVersionPickerCustomFieldOptionsOrder
,EditWorkflow
,EditWorkflowDispatcher
,EditWorkflowScheme
,EditWorkflowStep
,EditWorkflowTransition
,EditWorkflowTransitionConditionParams
,EditWorkflowTransitionPostFunctionParams
,EditWorkflowTransitionValidatorParams
,EmailTemplatesSettings
,Error404
,Export
,FavouriteFilters
,FilterPickerPopup
,FirstUseFlowAction
,ForgotLoginDetails
,GenericEditProfile
,GlobalPermissions
,GroupBrowser
,GroupPickerBrowser
,GroupRoleActorAction
,IconPicker
,ImportAll
,ImportResult
,ImportWorkflow
,IndexAdminImpl
,IndexOptimize
,IndexProject
,IntegrityChecker
,IssueActionSupport
,IssuePicker
,JiraWebActionSupport
,JiraWizardActionSupport
,JmxMonitoringAction
,LandingPage
,LeaveAdmin
,LegendOfJiraPage
,LicensedOnlyPermissionCheckAction
,LinkConfluencePage
,LinkExistingIssue
,LinkJiraIssue
,ListEventTypes
,ListWorkflows
,Logout
,MailQueueAdmin
,ManageAttachments
,ManageCacheInstrumentation
,ManageConfigurationScheme
,ManageFilters
,ManageIssueTypeSchemes
,ManageSubscriptions
,ManageSubTasks
,ManageTerminology
,ManageWatchers
,MapColumns
,MapCustomFields
,MapIssueTypes
,MapPriorities
,MapResolutions
,MapStatuses
,MapUsers
,MapValidateImport
,MigrateIssueTypes
,MigratePrioritySchemeAction
,MigratePrioritySchemeProgress
,MockAbstractBrowser
,MoveIssue
,MoveIssueConfirm
,MoveIssueSubtasks
,MoveIssueUpdateFields
,MoveIssueUpdateWorkflow
,MoveSubTask
,MoveSubTaskChooseOperation
,MoveSubTaskParent
,MyJiraHome
,OldEditPermissions
,PreparedReferenceAction
,ProjectActionSupport
,ProjectEmail
,ProjectImportBackupOverviewProgress
,ProjectImportMappingProgress
,ProjectImportMissingMandatoryUsersCannotCreate
,ProjectImportMissingMandatoryUsersExtMgmt
,ProjectImportMissingOptionalUsersCannotCreate
,ProjectImportMissingOptionalUsersExtMgmt
,ProjectImportMissingUsersAutoCreate
,ProjectImportProgress
,ProjectImportResultsAction
,ProjectImportSelectBackup
,ProjectImportSelectProject
,ProjectImportSummary
,ProjectPermissions
,ProjectRoleUsageAction
,PublishDraftWorkflow
,PulpRenderAction
,QuickSearch
,RecentIssueHistory
,ReferenceAction
,ReferenceComponentAction
,ReferenceComponentImportAction
,ReferenceModuleTypeAction
,ReferenceResourceAction
,ReferenceSoyAction
,ReleaseNote
,ReplicationSettings
,ResetFailedLoginCount
,ResetPassword
,ResourcePhaseCheckpointsAction
,RestoreDefaultDashboard
,RestoreIssue
,SchedulerAdmin
,SchemeAwareIssueSecurityAction
,SchemeAwareNotificationAction
,SchemeAwarePermissionAction
,SearchDescriptionEnabledAction
,SelectComponentAssignees
,SelectFieldLayoutScheme
,SelectIssueTypeSchemeForProject
,SelectIssueTypeScreenScheme
,SelectProjectCategory
,SelectProjectIssueSecurityScheme
,SelectProjectPermissionScheme
,SelectProjectScheme
,SelectProjectSecuritySchemeStep2
,SelectProjectWorkflowScheme
,SelectProjectWorkflowSchemeStep2
,SelectProjectWorkflowSchemeStep3
,SendBulkMail
,ServiceExecutor
,SessionTimeoutMessage
,SetGlobalEmailPreference
,SetPassword
,Settings
,SetupAccount
,SetupAdminAccount
,SetupApplicationProperties
,SetupComplete
,SetupDatabase
,SetupFinishing
,SetupImport
,SetupLicense
,SetupMailNotifications
,ShowConstantsHelp
,ShowTimeTrackingHelp
,Signup
,SimpleWorkflowAction
,SiteDarkFeatures
,SystemAdminPermissionCheckAction
,TerminologyHelp
,TimeTrackingAdmin
,TranslateCustomField
,UnrestrictedAccessPermissionCheckAction
,UpdateMyJiraHome
,UpdateUserPreferences
,UpdateWorklog
,UploadXmlFile
,UserBrowser
,UserPickerBrowser
,UserProperty
,UserRememberMeCookies
,UserRoleActorAction
,VersionAction
,ViewApplicationProperties
,ViewAttachmentSettings
,ViewAvatarSettings
,ViewCacheDetails
,ViewCachesByRequest
,ViewCacheStats
,ViewCustomFields
,ViewDefaultProjectRoleActors
,ViewEventAction
,ViewFieldLayouts
,ViewFieldScreens
,ViewFieldScreenSchemes
,ViewGroup
,ViewInstrumentation
,ViewIssueFields
,ViewIssueTypes
,ViewIssueTypeScreenSchemes
,ViewKeyboardShortcuts
,ViewLinkTypes
,ViewListeners
,ViewLogging
,ViewMemoryInfo
,ViewPriorities
,ViewPrioritySchemes
,ViewPrioritySchemesForPriority
,ViewProfile
,ViewProject
,ViewProjectRoleActors
,ViewProjectRoles
,ViewProjects
,ViewRecords
,ViewResolutions
,ViewSchemes
,ViewSchemes
,ViewSchemes
,ViewSchemes
,ViewSchemes
,ViewServices
,ViewSharedDashboards
,ViewSharedFilters
,ViewStatuses
,ViewSubtaskFragmentAction
,ViewSystemFields
,ViewSystemInfo
,ViewTranslations
,ViewTrustedApplications
,ViewUpgradeHistory
,ViewUpgrades
,ViewUris
,ViewUser
,ViewUserDefaultSettings
,ViewUserHover
,ViewUserPreferences
,ViewUserProjectRoles
,ViewVoters
,ViewWorkflowsForStatus
,ViewWorkflowStep
,ViewWorkflowStepMetaAttributes
,ViewWorkflowSteps
,ViewWorkflowTransition
,ViewWorkflowTransitionConditionalResult
,ViewWorkflowTransitionMetaAttributes
,ViewWorkflowXml
,VoteOrWatchIssue
,WebSudoAuthenticate
,WikiRendererHelpAction
,WorkflowUIDispatcher
,XmlBackup
,XsrfErrorAction
- Since:
- v4.3
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionboolean
hasGlobalPermission
(GlobalPermissionKey globalPermissionKey) Returns true if the logged in user has the given global permission.boolean
hasGlobalPermission
(String permissionKey) Returns true if the logged in user has the given global permission.boolean
hasIssuePermission
(int permissionsId, Issue issue) Deprecated.boolean
hasIssuePermission
(ProjectPermissionKey projectPermissionKey, Issue issue) Returns true if the logged in user has the given permission on the given Issue.boolean
hasIssuePermission
(String permissionKey, Issue issue) Returns true if the logged in user has the given permission type on the given Issue.boolean
hasPermission
(int permissionsId) Deprecated.boolean
hasProjectPermission
(int permissionsId, Project project) boolean
hasProjectPermission
(ProjectPermissionKey projectPermissionKey, Project project) Returns true if the logged in user has the given permission on the given project.
-
Method Details
-
hasPermission
boolean hasPermission(int permissionsId) Deprecated.UsehasGlobalPermission(com.atlassian.jira.permission.GlobalPermissionKey)
instead. Since v6.4.Returns true if the logged in user has the given permission type.- Parameters:
permissionsId
- the permission type- Returns:
- true if the logged in user has the given permission type.
-
hasGlobalPermission
Returns true if the logged in user has the given global permission.This method is intended to be used in Java code. If you are using JSP / Velocity / Soy Templates, it is probably easier to call
hasGlobalPermission(String)
instead.- Parameters:
globalPermissionKey
- the permission to check- Returns:
- true if the logged in user has the given global permission.
- See Also:
-
hasGlobalPermission
Returns true if the logged in user has the given global permission.This method is intended to be used in JSP / Velocity / Soy Templates. If you are using Java directly, it is recommended to call
hasGlobalPermission(com.atlassian.jira.permission.GlobalPermissionKey)
instead.Note that this method takes a Global Permission Key, which is a different value to the old "permission name" that some previous methods would accept - see
GlobalPermissionKey
for correct values of the system permissions.- Parameters:
permissionKey
- the permission to check- Returns:
- true if the logged in user has the given global permission.
- Since:
- 7.0
- See Also:
-
hasIssuePermission
Returns true if the logged in user has the given permission type on the given Issue.This method is intended for use in Velocity templates / JSPs etc. Within Java code you should prefer the method that takes a ProjectPermissionKey.
Note that this method takes a Permission Key, which is a different value to the old "permission name" that some previous methods would accept - see
ProjectPermissions
for correct values of the system permissions.- Parameters:
permissionKey
- the permission key as a Stringissue
- the Issue- Returns:
- true if the logged in user has the given permission type on the given Issue.
- See Also:
-
hasIssuePermission
Deprecated.Returns true if the logged in user has the given permission type on the given Issue.- Parameters:
permissionsId
- the permission typeissue
- the Issue- Returns:
- true if the logged in user has the given permission type on the given Issue.
-
hasIssuePermission
Returns true if the logged in user has the given permission on the given Issue.- Parameters:
projectPermissionKey
- the permission to checkissue
- the Issue- Returns:
- true if the logged in user has the given permission on the given Issue.
- Since:
- 7.0
- See Also:
-
hasProjectPermission
Deprecated.Returns true if the logged in user has the given permission type on the given Project.- Parameters:
permissionsId
- the permission typeproject
- the Project- Returns:
- true if the logged in user has the given permission type on the given Project.
-
hasProjectPermission
Returns true if the logged in user has the given permission on the given project.- Parameters:
projectPermissionKey
- the permission to checkproject
- the project- Returns:
- true if the logged in user has the given permission on the given Issue.
-
hasIssuePermission(com.atlassian.jira.security.plugin.ProjectPermissionKey, com.atlassian.jira.issue.Issue)
instead.