public class ConfigureGlobalRepositoryPermissions extends AbstractPermissionAction implements com.atlassian.struts.Preparable, DomainObjectSecurityAware
BambooActionSupport.JSONStatus
acl, aclService, aclUpdateHelper, addGroupPrincipal, addUserPrincipal, entityId, grantedGroups, grantedPermissions, grantedUsers, newGroup, newUser, nonProcessedGrantedPermissions, principalType, RESULT_EDIT_PERMISSIONS, userManager
ACCESS_DENIED, administrationConfigurationAccessor, administrationConfigurationManager, administrationConfigurationPersister, 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 |
---|
ConfigureGlobalRepositoryPermissions() |
Modifier and Type | Method and Description |
---|---|
String |
doDefault()
Default action just sends to the input
|
org.acegisecurity.acls.MutableAcl |
getAcl() |
Map<String,String> |
getEditablePermissions() |
String |
getEntityName() |
RepositoryData |
getRepositoryData() |
long |
getRepositoryId() |
Object |
getSecuredDomainObject() |
void |
prepare() |
void |
setRepositoryDefinitionManager(RepositoryDefinitionManager repositoryDefinitionManager) |
void |
setRepositoryId(long repositoryId) |
boolean |
showAdminPermissions() |
bulkUpdateAcls, doAddGroupPrincipal, doAddUserPrincipal, doCreatePrincipal, doInputPrincipal, doUpdatePermissions, getAddGroupPrincipal, getAddUserPrincipal, getEntityId, getGrantedGroups, getGrantedPermissions, getGrantedUsers, getGrantedUsersDisplayNames, getNewGroup, getNewUser, getPrincipalType, hasEditPermissionForGroup, hasEditPermissionForUser, hasEditPermissionForUserName, hasParameters, populatePermissionLists, save, saveAllPermissions, setAcl, setAclService, setAclUpdateHelper, setAddGroupPrincipal, setAddUserPrincipal, setEntityId, setGrantedGroups, setGrantedPermissions, setGrantedUsers, setNewGroup, setNewUser, setPrincipalType, setUserManager, updateAcl, validateSaveAllPermissions
addActionError, addActionWarning, addError, addError, addErrorCollection, addErrorMessage, addErrorMessage, addErrorMessages, addErrors, addFieldErrors, addHelpPanel, addIllegalArgumentException, areCheckBoxesEmpty, buildJsonObject, buildWebPanelContext, checkFieldXssSafety, createFieldValidator, doesHelpLinkHaveMatchingTitle, doesLabelKeyHaveMatchingDescription, doExecute, doInput, execute, 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 ConfigureGlobalRepositoryPermissions()
public void prepare() throws Exception
prepare
in interface com.opensymphony.xwork2.Preparable
Exception
@Nullable public org.acegisecurity.acls.MutableAcl getAcl()
getAcl
in class AbstractPermissionAction
@NotNull public String getEntityName()
getEntityName
in class AbstractPermissionAction
public boolean showAdminPermissions()
showAdminPermissions
in class AbstractPermissionAction
@NotNull public Map<String,String> getEditablePermissions()
getEditablePermissions
in class AbstractPermissionAction
public String doDefault() throws Exception
BambooActionSupport
doDefault
in class BambooActionSupport
Exception
public RepositoryData getRepositoryData()
public Object getSecuredDomainObject()
getSecuredDomainObject
in interface DomainObjectSecurityAware
getSecuredDomainObject
in class BambooActionSupport
public long getRepositoryId()
public void setRepositoryId(long repositoryId)
public void setRepositoryDefinitionManager(RepositoryDefinitionManager repositoryDefinitionManager)
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.