Details
-
Bug
-
Resolution: Fixed
-
Medium
-
5.10-OD-05
-
None
Description
Summary
If a user doesn't have permission to access all deployment projects, Bamboo throws an error saying "Background page refresh cannot contact server. Please ensure Bamboo server is available." and none of the projects are visible.
Steps to Reproduce
- Create a deployment project.
- Restrict permission to that deployment project to one single user.
- Perform a deployment from that project
- Log in as a different user and go to Deploy > All Deployment Projects.
Expected Results
The deployment projects that your user has access to are listed.
Actual Results
No projects are listed and instead an error saying "Background page refresh cannot contact server. Please ensure Bamboo server is available" appears.
Workarounds
There are no universal workarounds to this bug. Possibilities include:
- Make all deployment projects visible to all users who need to see any deployment projects.
- Encourage users to view projects one at a time rather than through the dashboard.
Notes
The following error is thrown in the Bamboo logs:
2015-11-03 17:28:06,557 WARN [ajp-nio-127.0.0.105-8009-exec-10] [AuthorizationLoggerListener] Authorization failed: org.acegisecurity.AccessDeniedException: Authentication username has NO permissions to the domain object com.atlassian.bamboo.deployments.projects.DeploymentProjectImpl@1729d24; authenticated principal: org.acegisecurity.adapters.PrincipalAcegiUserToken@fa4521b: Username: username; Password: [PROTECTED]; Authenticated: true; Details: null; Granted Authorities: ROLE_USER, ROLE_RESTRICTEDADMIN; secure object: ReflectiveMethodInvocation: public abstract com.atlassian.bamboo.deployments.projects.DeploymentProject com.atlassian.bamboo.deployments.projects.service.DeploymentProjectService.getDeploymentProject(long); target is of class [com.atlassian.bamboo.deployments.projects.service.DeploymentProjectServiceImpl]; configuration attributes: [ROLE_USER, ROLE_ANONYMOUS, AFTER_ACL_READ]
Attachments
Issue Links
- has a derivative of
-
BAM-17032 Deployment dashboard not accessible by admins that have limited access to certain deployment projects
- Closed
- has a regression in
-
BAM-17032 Deployment dashboard not accessible by admins that have limited access to certain deployment projects
- Closed
- is caused by
-
BAM-13643 Bamboo deployment dashboard slow when displaying many deployment projects
- Closed
- mentioned in
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
- relates to
-
BDEV-10744 Loading...
-
HOT-35149 Loading...
- was cloned as
-
BDEV-10532 Loading...