public class ConfigureGlobalPermissions extends AbstractPermissionAction implements GlobalAdminSecurityAware
BambooActionSupport.JSONStatus
Modifier and Type | Field and Description |
---|---|
static String |
ANONYMOUS_ACCESS_ALLOWED_PERMISSION_KEY |
acl, aclService, aclUpdateHelper, addGroupPrincipal, addUserPrincipal, entityId, grantedGroups, grantedPermissions, grantedUsers, newGroup, newUser, nonProcessedGrantedPermissions, principalType, RESULT_EDIT_PERMISSIONS, userManager
ACCESS_DENIED, administrationConfigurationManager, AGGREGATE_URL_PATTERN, bambooPermissionManager, bambooUserManager, BUILD_KEY_CONTEXT, buildDefinitionManager, cachedPlanManager, CONFIRM, cookieCutter, dashboardCachingManager, environmentService, featureManager, PAGE_NOT_FOUND, PLAN_KEY_CONTEXT, planExecutionManager, planManager, pluginAccessor, projectManager, webInterfaceManager
Constructor and Description |
---|
ConfigureGlobalPermissions() |
Modifier and Type | Method and Description |
---|---|
String |
doSave() |
String |
doView() |
String |
execute() |
org.acegisecurity.acls.MutableAcl |
getAcl() |
Map<String,String> |
getEditablePermissions() |
String |
getEntityName() |
Object |
getSecuredDomainObject() |
boolean |
hasEditPermissionForUser(BambooUser user) |
boolean |
hasEditPermissionForUserName(String userName) |
protected String |
saveAllPermissions() |
void |
validateSaveAllPermissions(List<String> permissions) |
bulkUpdateAcls, doAddGroupPrincipal, doAddUserPrincipal, doCreatePrincipal, doInputPrincipal, doUpdatePermissions, getAddGroupPrincipal, getAddUserPrincipal, getEntityId, getGrantedGroups, getGrantedPermissions, getGrantedUsers, getGrantedUsersDisplayNames, getNewGroup, getNewUser, getPrincipalType, hasEditPermissionForGroup, hasParameters, populatePermissionLists, save, setAcl, setAclService, setAclUpdateHelper, setAddGroupPrincipal, setAddUserPrincipal, setEntityId, setGrantedGroups, setGrantedPermissions, setGrantedUsers, setNewGroup, setNewUser, setPrincipalType, setUserManager, showAdminPermissions, updateAcl
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, getDeploymentProject, getDescriptionFromLabelKey, getElasticConfig, getFeatureManager, getFieldErrorAccessTracker, getFieldErrors, getFlushedErrorMessages, getFormattedActionErrors, getFormattedActionMessages, getFormattedActionWarnings, getHelpPanels, getInstanceName, getJobEquiv, getJsonObject, getNavigationContext, getNavigationUrl, getNumberOfCurrentlyBuildingPlans, getPlan, getPlanManager, getPluginAccessor, getReturnUrl, 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, hasLinkedDeployments, hasPlanPermission, hasPlanPermission, hasRestrictedAdminPermission, input, isCheckboxSetInAction, isEc2ConfigurationWarningRequired, isEnableJavascript, isEnableSignup, isInlineDialog, isRestrictedAdminEnabled, isSelectFieldAndNull, isViewContactDetailsEnabled, renderFreemarkerTemplate, setAdministrationConfigurationAccessor, setAdministrationConfigurationManager, setAdministrationConfigurationPersister, setAuthenticationContext, setBambooLicenseManager, setBambooPermissionManager, setBambooUserManager, setBuildDefinitionManager, setCachedPlanManager, setChainEquiv, setCheckBoxFields, setCookieCutter, setCurrentFormTheme, setDashboardCachingManager, setDecorator, setEnableJavascript, setEnvironmentService, setErrorMessages, setFeatureManager, setI18nBeanFactory, setJobEquiv, setJsonator, setNavigationContext, setPlanExecutionManager, setPlanManager, setPluginAccessor, setProfile, setProjectManager, setReturnUrl, setServerLifecycleProvider, setWebInterfaceManager, toJson, toJson
addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFormatted, getLocale, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, validate
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getErrorMessages, getErrors
public static final String ANONYMOUS_ACCESS_ALLOWED_PERMISSION_KEY
@Nullable public org.acegisecurity.acls.MutableAcl getAcl()
getAcl
in class AbstractPermissionAction
@NotNull public String getEntityName()
getEntityName
in class AbstractPermissionAction
@NotNull public Map<String,String> getEditablePermissions()
getEditablePermissions
in class AbstractPermissionAction
public boolean hasEditPermissionForUserName(String userName)
hasEditPermissionForUserName
in class AbstractPermissionAction
public boolean hasEditPermissionForUser(BambooUser user)
hasEditPermissionForUser
in class AbstractPermissionAction
public Object getSecuredDomainObject()
getSecuredDomainObject
in interface DomainObjectSecurityAware
getSecuredDomainObject
in class BambooActionSupport
public String execute() throws Exception
execute
in interface com.opensymphony.xwork2.Action
execute
in class BambooActionSupport
Exception
protected String saveAllPermissions()
saveAllPermissions
in class AbstractPermissionAction
public void validateSaveAllPermissions(List<String> permissions)
validateSaveAllPermissions
in class AbstractPermissionAction
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.