com.atlassian.jira.web.util
Interface AuthorizationSupport

All Known Implementing Classes:
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, AbstractFieldLayoutAction, AbstractFieldScreenAction, AbstractFieldScreenSchemeAction, AbstractFieldScreenSchemeItemAction, AbstractFilterAction, AbstractGroupToRoleAction, AbstractImportEntity, AbstractImportIssue, AbstractIssueLinkAction, AbstractIssueSelectAction, AbstractManageIssueTypeOptionsAction, AbstractMergeAction, AbstractPluggableTabPanelAction, AbstractProjectAction, AbstractProjectAndSchemeAwareAction, AbstractProjectImportProgress, AbstractProjectImportUsersMissing, AbstractProjectRole, AbstractRoleActorAction, AbstractRoleActors, AbstractSchemeAware, AbstractSchemeAwareAction, AbstractSchemePickerAction, AbstractSchemePurgeAction, AbstractSchemeToolAction, 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, AddProject, AddProjectCategory, AddScheme, AddScheme, AddScheme, AddScheme, AddUser, AddVersion, AddWebLink, AddWorkflowTransition, AddWorkflowTransitionCondition, AddWorkflowTransitionConditionParams, AddWorkflowTransitionFunctionParams, AddWorkflowTransitionPostFunction, AddWorkflowTransitionValidator, AddWorkflowTransitionValidatorParams, AdjustFavourite, AdvancedApplicationProperties, AllUsersRememberMeCookies, AssignIssue, AssociateFieldToScreens, AssociateIssueTypeSchemes, AssociateIssueTypeSchemesWithDefault, AttachFile, AttachScreenshot, AttachTemporaryFile, BrowseProjects, BulkCancelWizard, BulkChooseOperation, BulkDelete, BulkEdit, BulkEdit1, BulkEditUserGroups, BulkMigrate, BulkMove, BulkUnwatch, BulkWatch, BulkWorkflowTransition, CantBrowseCreatedIssue, ChangePassword, ChangeSharedDashboardOwner, ChangeSharedFilterOwner, CleanData, ClearRememberMeCookies, CloneIssueDetails, CloneWorkflow, CommentAssignIssue, ConfigureCrowdServer, ConfigureCustomField, ConfigureFieldLayout, ConfigureFieldLayoutScheme, ConfigureFieldScreen, ConfigureFieldScreenScheme, ConfigureIssueTypeOptionScheme, ConfigureIssueTypeScreenScheme, ConfigureLogging, ConfigureOptionScheme, ConfigurePortalPages, ConfigureReport, ConfirmNewInstallationWithOldLicense, ContactAdministrators, ConvertIssueToSubTask, ConvertSubTaskToIssue, CopyFieldLayout, CopyFieldLayoutScheme, 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, DeleteProject, DeleteProjectCategory, DeleteProjectEntity, 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, EditComment, EditCrowdApplication, EditCustomField, EditCustomFieldDefaults, EditCustomFieldOptions, EditCustomFieldUserPickerFilter, EditDarkFeatures, EditDefaultDashboard, EditDefaultFieldLayoutItem, EditFieldLayout, EditFieldLayoutItem, EditFieldLayoutItemRenderer, EditFieldLayoutItemRendererConfirmation, EditFieldLayoutScheme, EditFieldScreen, EditFieldScreenScheme, EditFieldScreenSchemeItem, EditFilter, EditIndexRecoverySettings, EditIssue, EditIssueSecurities, EditIssueType, EditIssueTypeScreenScheme, EditLabels, EditLinkType, EditListener, EditLookAndFeel, EditNestedGroups, EditNotifications, EditPermissions, EditPortalPage, EditPriority, EditProfile, EditProject, EditProjectCategory, EditProjectLeadAndDefaultAssignee, EditProjectRole, EditResolution, EditScheme, EditScheme, EditScheme, EditService, EditStatus, EditSubTaskIssueTypes, EditTrustedApplication, EditUser, EditUserDefaultSettings, EditUserGroups, EditUserProjectRoles, EditUserProperties, EditUserProperty, EditWorkflow, EditWorkflowDispatcher, EditWorkflowScheme, EditWorkflowStep, EditWorkflowTransition, EditWorkflowTransitionConditionParams, EditWorkflowTransitionPostFunctionParams, EditWorkflowTransitionValidatorParams, Error404, FavouriteFilters, FilterPickerPopup, FilterSubscription, ForgotLoginDetails, GenericEditProfile, GlobalPermissions, GroupBrowser, GroupPickerBrowser, GroupRoleActorAction, IconPicker, ImportAll, ImportResult, ImportWorkflow, IndexAdminImpl, IndexOptimize, IndexProject, IntegrityChecker, IssueActionSupport, IssuePicker, JellyRunner, JiraCreditsPage, JiraWebActionSupport, JiraWizardActionSupport, LeaveAdmin, LicenseRoles, LinkConfluencePage, LinkExistingIssue, LinkJiraIssue, ListEventTypes, ListWorkflows, Logout, MailQueueAdmin, ManageAttachments, ManageConfigurationScheme, ManageFilters, ManageIssueTypeSchemes, ManageSubscriptions, ManageSubTasks, ManageWatchers, MapColumns, MapCustomFields, MapIssueTypes, MapPriorities, MapResolutions, MapStatuses, MapUsers, MapValidateImport, MigrateIssueTypes, MockAbstractBrowser, MoveIssue, MoveIssueConfirm, MoveIssueSubtasks, MoveIssueUpdateFields, MoveIssueUpdateWorkflow, MoveSubTask, MoveSubTaskChooseOperation, MoveSubTaskParent, MyJiraHome, PreparedReferenceAction, ProjectActionSupport, ProjectEmail, ProjectImportBackupOverviewProgress, ProjectImportMappingProgress, ProjectImportMissingMandatoryUsersCannotCreate, ProjectImportMissingMandatoryUsersExtMgmt, ProjectImportMissingOptionalUsersCannotCreate, ProjectImportMissingOptionalUsersExtMgmt, ProjectImportMissingUsersAutoCreate, ProjectImportProgress, ProjectImportResultsAction, ProjectImportSelectBackup, ProjectImportSelectProject, ProjectImportSummary, ProjectRoleUsageAction, PublishDraftWorkflow, QuickSearch, RecentIssueHistory, ReferenceAction, ReferenceComponentAction, ReferenceComponentImportAction, ReferenceModuleTypeAction, ReferenceResourceAction, ReferenceSoyAction, ReleaseNote, ResetFailedLoginCount, ResetPassword, RestoreDefaultDashboard, SaveAsFilter, SaveFilter, SchedulerAdmin, SchemeAwareIssueSecurityAction, SchemeAwareNotificationAction, SchemeAwarePermissionAction, SchemeComparisonPickerAction, SchemeComparisonToolAction, SchemeGroupToRoleMapperAction, SchemeGroupToRolePickerAction, SchemeGroupToRoleResultAction, SchemeGroupToRoleTransformerAction, SchemeMergeAction, SchemeMergePreviewAction, SchemeMergeResultAction, SchemePurgeToolPreviewAction, SchemePurgeToolResultsAction, SchemePurgeTypePickerAction, SchemeToolsAction, SchemeTypePickerAction, SearchDescriptionEnabledAction, SelectComponentAssignees, SelectFieldLayoutScheme, SelectIssueTypeSchemeForProject, SelectIssueTypeScreenScheme, SelectProjectCategory, SelectProjectIssueSecurityScheme, SelectProjectPermissionScheme, SelectProjectScheme, SelectProjectSecuritySchemeStep2, SelectProjectWorkflowScheme, SelectProjectWorkflowSchemeStep2, SelectProjectWorkflowSchemeStep3, SendBulkMail, ServiceExecutor, SessionTimeoutMessage, SetGlobalEmailPreference, SetPassword, SetSelectedIssue, SetupAdminAccount, SetupApplicationProperties, SetupBonfire, SetupComplete, SetupDatabase, SetupGreenHopper, SetupImport, SetupLicense, SetupMailNotifications, SetupProductBundle, SetupProductBundleReport, ShowConstantsHelp, ShowTimeTrackingHelp, Signup, SimpleWorkflowAction, SiteDarkFeatures, TimeTrackingAdmin, TranslateCustomField, UpdateMyJiraHome, UpdateUserPreferences, UpdateWorklog, UploadXmlFile, UserBrowser, UserPickerBrowser, UserProperty, UserRememberMeCookies, UserRoleActorAction, VersionAction, ViewApplicationProperties, ViewAttachmentSettings, ViewCustomFields, ViewDefaultProjectRoleActors, ViewFieldLayouts, ViewFieldScreens, ViewFieldScreenSchemes, ViewGroup, ViewInstrumentation, ViewIssueFields, ViewIssueTypes, ViewIssueTypeScreenSchemes, ViewKeyboardShortcuts, ViewLicense, ViewLinkTypes, ViewListeners, ViewLogging, ViewMemoryInfo, ViewPriorities, ViewProfile, ViewProject, ViewProjectRoleActors, ViewProjectRoles, ViewProjects, ViewResolutions, ViewSchemes, ViewSchemes, ViewSchemes, ViewSchemes, ViewSchemes, ViewServices, ViewSharedDashboards, ViewSharedFilters, ViewStatuses, ViewSubtaskFragmentAction, ViewSystemInfo, ViewTranslations, ViewTrustedApplications, ViewUpgradeHistory, ViewUser, ViewUserDefaultSettings, ViewUserHover, ViewUserPreferences, ViewUserProjectRoles, ViewVoters, ViewWorkflowStep, ViewWorkflowStepMetaAttributes, ViewWorkflowSteps, ViewWorkflowTransition, ViewWorkflowTransitionConditionalResult, ViewWorkflowTransitionMetaAttributes, ViewWorkflowXml, VoteOrWatchIssue, WebSudoAuthenticate, WikiRendererHelpAction, WorkflowUIDispatcher, XmlBackup, XsrfErrorAction

public interface AuthorizationSupport

Groups a collection of authorization checks used by JIRA's view layer.

Since:
v4.3
See Also:
JiraWebActionSupport

Method Summary
 boolean hasIssuePermission(int permissionsId, Issue issue)
          Returns true if the logged in user has the given permission type on the given Issue.
 boolean hasPermission(int permissionsId)
          Returns true if the logged in user has the given permission type.
 boolean hasProjectPermission(int permissionsId, Project project)
          Returns true if the logged in user has the given permission type on the given Project.
 boolean isHasIssuePermission(int permissionsId, org.ofbiz.core.entity.GenericValue issue)
          Deprecated. Use hasIssuePermission(int, com.atlassian.jira.issue.Issue) instead. Since v6.0.
 boolean isHasIssuePermission(String permName, org.ofbiz.core.entity.GenericValue issue)
          Deprecated. Use hasIssuePermission(int, com.atlassian.jira.issue.Issue) instead. Since v6.0.
 boolean isHasPermission(int permissionsId)
          Deprecated. Use hasPermission(int) instead. Since v6.0.
 boolean isHasPermission(String permName)
          Deprecated. Use hasPermission(int) instead. Since v6.0.
 boolean isHasPermission(String permName, org.ofbiz.core.entity.GenericValue entity)
          Deprecated. since 4.3. Please use either isHasIssuePermission(String, org.ofbiz.core.entity.GenericValue), isHasIssuePermission(int, org.ofbiz.core.entity.GenericValue) or isHasProjectPermission(String, org.ofbiz.core.entity.GenericValue), isHasProjectPermission(int, org.ofbiz.core.entity.GenericValue).
 boolean isHasProjectPermission(int permissionsId, org.ofbiz.core.entity.GenericValue project)
          Deprecated. Use hasProjectPermission(int, com.atlassian.jira.project.Project) instead. Since v6.0.
 boolean isHasProjectPermission(String permName, org.ofbiz.core.entity.GenericValue project)
          Deprecated. Use hasProjectPermission(int, com.atlassian.jira.project.Project) instead. Since v6.0.
 

Method Detail

isHasPermission

boolean isHasPermission(String permName)
Deprecated. Use hasPermission(int) instead. Since v6.0.

Returns true if the logged in user has the given permission type.

Parameters:
permName - the permission type
Returns:
true if the logged in user has the given permission type.

isHasPermission

boolean isHasPermission(int permissionsId)
Deprecated. Use hasPermission(int) instead. Since v6.0.

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.

hasPermission

boolean hasPermission(int permissionsId)
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.

isHasIssuePermission

boolean isHasIssuePermission(String permName,
                             org.ofbiz.core.entity.GenericValue issue)
Deprecated. Use hasIssuePermission(int, com.atlassian.jira.issue.Issue) instead. Since v6.0.

Returns true if the logged in user has the given permission type on the given Issue.

Parameters:
permName - the permission type
issue - the Issue
Returns:
true if the logged in user has the given permission type on the given Issue.

isHasIssuePermission

boolean isHasIssuePermission(int permissionsId,
                             org.ofbiz.core.entity.GenericValue issue)
Deprecated. Use hasIssuePermission(int, com.atlassian.jira.issue.Issue) instead. Since v6.0.

Returns true if the logged in user has the given permission type on the given Issue.

Parameters:
permissionsId - the permission type
issue - the Issue
Returns:
true if the logged in user has the given permission type on the given Issue.

hasIssuePermission

boolean hasIssuePermission(int permissionsId,
                           Issue issue)
Returns true if the logged in user has the given permission type on the given Issue.

Parameters:
permissionsId - the permission type
issue - the Issue
Returns:
true if the logged in user has the given permission type on the given Issue.

isHasProjectPermission

boolean isHasProjectPermission(String permName,
                               org.ofbiz.core.entity.GenericValue project)
Deprecated. Use hasProjectPermission(int, com.atlassian.jira.project.Project) instead. Since v6.0.

Returns true if the logged in user has the given permission type on the given Project.

Parameters:
permName - the permission type
project - the Project
Returns:
true if the logged in user has the given permission type on the given Project.

isHasProjectPermission

boolean isHasProjectPermission(int permissionsId,
                               org.ofbiz.core.entity.GenericValue project)
Deprecated. Use hasProjectPermission(int, com.atlassian.jira.project.Project) instead. Since v6.0.

Returns true if the logged in user has the given permission type on the given Project.

Parameters:
permissionsId - the permission type
project - the Project
Returns:
true if the logged in user has the given permission type on the given Project.

hasProjectPermission

boolean hasProjectPermission(int permissionsId,
                             Project project)
Returns true if the logged in user has the given permission type on the given Project.

Parameters:
permissionsId - the permission type
project - the Project
Returns:
true if the logged in user has the given permission type on the given Project.

isHasPermission

@Deprecated
boolean isHasPermission(String permName,
                                   org.ofbiz.core.entity.GenericValue entity)
Deprecated. since 4.3. Please use either isHasIssuePermission(String, org.ofbiz.core.entity.GenericValue), isHasIssuePermission(int, org.ofbiz.core.entity.GenericValue) or isHasProjectPermission(String, org.ofbiz.core.entity.GenericValue), isHasProjectPermission(int, org.ofbiz.core.entity.GenericValue).

Returns true if remote user has permission over given entity, false otherwise.

Parameters:
permName - permission type
entity - entity to check the permission for, e.g. project, issue
Returns:
true if remote user has permission over given entity, false otherwise


Copyright © 2002-2014 Atlassian. All Rights Reserved.