Details
-
Bug
-
Resolution: Duplicate
-
Low
-
None
-
None
-
None
-
None
Description
Summary
It is not possible to delete Shared Credentials from Bamboo with an Administrator privilege.
2015-05-29 15:49:32.722163500 2015-05-29 15:49:32,721 WARN [TP-Processor37] [AuthorizationLoggerListener] Authorization failed: org.acegisecurity.AuthorizationServiceException: A Collection or an array (or null) was required as the returnedObject, but the returnedObject was: []; authenticated principal: org.acegisecurity.adapters.PrincipalAcegiUserToken@1c28fae6: Username: vchin; Password: [PROTECTED]; Authenticated: true; Details: null; Granted Authorities: ROLE_USER, ROLE_RESTRICTEDADMIN; secure object: ReflectiveMethodInvocation: public abstract java.lang.Iterable com.atlassian.bamboo.deployments.environments.service.EnvironmentService.getAllEnvironments(); target is of class [com.atlassian.bamboo.deployments.environments.service.EnvironmentServiceImpl]; configuration attributes: [ROLE_USER, ROLE_ANONYMOUS, AFTER_ACL_COLLECTION_READ]
From the error above; it seems that the administrator requires sysadmin access in order to remove the Shared Credentials. From the documentation; you don't need to have sysadmin access to remove it.
Steps to Replicate
Attempt to remove a Shared Credential with an administrator account.
Workaround
No workaround available for now besides requesting assistance of support to remove the Shared Credentials