public abstract class AbstractPermissionAction extends BambooActionSupport
BambooActionSupport.JSONStatus
Modifier and Type | Field and Description |
---|---|
protected org.acegisecurity.acls.MutableAcl |
acl |
protected HibernateMutableAclService |
aclService |
protected BambooAclUpdateHelper |
aclUpdateHelper |
protected String |
addGroupPrincipal |
protected String |
addUserPrincipal |
protected long |
entityId |
protected List<String> |
grantedGroups |
protected List<String> |
grantedPermissions |
protected List<String> |
grantedUsers |
protected String |
newGroup |
protected String |
newUser |
protected List<String> |
nonProcessedGrantedPermissions |
protected String |
principalType |
protected com.atlassian.user.UserManager |
userManager |
ACCESS_DENIED, administrationConfigurationAccessor, administrationConfigurationManager, administrationConfigurationPersister, AGGREGATE_URL_PATTERN, authenticationContext, bambooPermissionManager, bambooUserManager, BUILD_KEY_CONTEXT, buildDefinitionManager, cachedPlanManager, CONFIRM, cookieCutter, deploymentProjectService, featureManager, PAGE_NOT_FOUND, PLAN_KEY_CONTEXT, planExecutionManager, planManager, pluginAccessor, projectManager, webInterfaceManager
Constructor and Description |
---|
AbstractPermissionAction() |
addActionError, addActionError, addActionWarning, addError, addError, addErrorCollection, addErrorMessage, addErrorMessage, addErrorMessages, addErrors, addFieldErrors, addHelpPanel, addIllegalArgumentException, areCheckBoxesEmpty, buildJsonObject, buildWebPanelContext, checkFieldXssSafety, createFieldValidator, doDefault, doesHelpLinkHaveMatchingTitle, doesLabelKeyHaveMatchingDescription, doExecute, doInput, forceRelativeReturnUrl, getActionWarnings, getAdministrationConfiguration, getAvailableCategoryJson, getBamboo, getBambooLicenseManager, getBambooPermissionManager, getBambooSession, getBambooUrl, getBambooUserManager, getBaseUrl, getBestBaseUrl, getBootstrapManager, getBreadCrumbs, getChainEquiv, getConcurrentBuildsEnabled, getConglomerateCookieValue, getCookieCutter, getCookieValue, getCurrentFormTheme, getCurrentSystemTime, getCurrentUrl, getDefaultPersister, getDescriptionFromLabelKey, getElasticConfig, getErrorMessages, getErrors, getFeatureManager, getFieldErrorAccessTracker, getFieldErrors, getFlushedErrorMessages, getFormattedActionErrors, getFormattedActionMessages, getFormattedActionWarnings, getHelpPanels, getInstanceName, getJobEquiv, getJsonObject, getNavigationContext, getNavigationUrl, getNumberOfCurrentlyBuildingPlans, getPlan, getPlanManager, getPluginAccessor, getReturnUrl, getSecuredDomainObject, getServerLifecycleState, getSessionUser, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTextProvider, getTexts, getTexts, getTextWithArgs, getTotalErrors, getUser, getValidatorContext, getWebFragmentsContextMap, getWebItemsForSection, getWebPanelContext, getWebSectionsForLocation, hasActionWarnings, hasAdminPermission, hasAnyErrors, hasBuilds, hasEntityPermission, hasGlobalAdminPermission, hasGlobalPermission, hasGlobalPermission, hasKey, hasPlanPermission, hasPlanPermission, hasProjectPermission, hasProjectPermission, hasRestrictedAdminPermission, hasResultKeyReadPermission, isCheckboxSetInAction, isEnableJavascript, isEnableSignup, isInlineDialog, isRestrictedAdminEnabled, isSelectFieldAndNull, isViewContactDetailsEnabled, renderFreemarkerTemplate, setAdministrationConfigurationAccessor, setAdministrationConfigurationManager, setAdministrationConfigurationPersister, setAuthenticationContext, setBambooLicenseManager, setBambooPermissionManager, setBambooUserManager, setBuildDefinitionManager, setCachedPlanManager, setChainEquiv, setCheckBoxFields, setCookieCutter, setCurrentFormTheme, setDecorator, setDeploymentProjectService, setDocumentationLinkProvider, setEnableJavascript, setEnvironmentService, setErrorMessages, setFeatureManager, setI18nBeanFactory, setJobEquiv, setJsonator, setLocalizedTextProvider, setNavigationContext, setPlanExecutionManager, setPlanManager, setPluginAccessor, setProfile, setProjectManager, setReturnUrl, setServerLifecycleProvider, setWebInterfaceManager, streamJson, toJson, toJson
addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, execute, getActionErrors, getActionMessages, getContainer, getFormatted, getLocale, getLocaleProvider, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, input, isValidLocale, isValidLocaleString, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, validate
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAllErrorMessages
protected HibernateMutableAclService aclService
protected BambooAclUpdateHelper aclUpdateHelper
protected com.atlassian.user.UserManager userManager
protected org.acegisecurity.acls.MutableAcl acl
protected String newUser
protected String newGroup
protected String addUserPrincipal
protected String addGroupPrincipal
protected String principalType
protected long entityId
@Nullable public abstract org.acegisecurity.acls.MutableAcl getAcl()
@NotNull public abstract String getEntityName()
@NotNull public abstract Class<?> getEntityType()
ObjectIdentity
.
This method doesn't need to return the effective ACL entity class, as it will be proxied via
ObjectIdentityUtils.getAclClassForEntityClass(Class)
.
@NotNull public Class<?> getEntityAclType()
public BambooPermission getMinimalPermission()
public boolean showAdminPermissions()
protected void populatePermissionLists()
protected boolean hasParameters()
protected void updateAcl(org.acegisecurity.acls.MutableAcl acl)
protected void bulkUpdateAcls(org.acegisecurity.acls.MutableAcl acl, List<String> permissions)
protected String saveAllPermissions()
public String doInputPrincipal()
public void setAclService(HibernateMutableAclService aclService)
public void setAclUpdateHelper(BambooAclUpdateHelper aclUpdateHelper)
public void setAcl(org.acegisecurity.acls.MutableAcl acl)
public String getNewUser()
public void setNewUser(String newUser)
public String getNewGroup()
public void setNewGroup(String newGroup)
public long getEntityId()
public void setEntityId(long entityId)
public String getAddUserPrincipal()
public void setAddUserPrincipal(String addUserPrincipal)
public String getAddGroupPrincipal()
public void setAddGroupPrincipal(String addGroupPrincipal)
public String getPrincipalType()
public void setPrincipalType(String principalType)
public boolean hasEditPermissionForUserName(String userName)
public boolean hasEditPermissionForUser(BambooUser user)
public boolean hasEditPermissionForGroup(String groupName)
public void setUserManager(com.atlassian.user.UserManager userManager)
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.