Bamboo throws 'Access denied' when attempting to deploy

プラットフォームについて: Data Center のみ。 - This article only applies to Atlassian apps on the Data Center プラットフォーム

この KB は Data Center バージョンの製品用に作成されています。Data Center 固有ではない機能の Data Center KB は、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。 Server* 製品のサポートは 2024 年 2 月 15 日に終了しました。Server 製品を実行している場合は、 アトラシアン Server サポート終了 のお知らせにアクセスして、移行オプションを確認してください。

*Fisheye および Crucible は除く

問題

When attempting to deploy a release, 'Access denied Sorry, you have insufficient permissions to view the page' is seen in the browser. The user or group has proper permissions for the deployment project and environment.

The following appears in the atlassian-bamboo.log:

2016-08-18 12:32:45,399 INFO [http-nio-8085-exec-70] [AccessLogFilter] username GET http://bamboo/deploy/selectVersionForExecute.action?environmentId=11111111&returnUrl=/deploy/viewDeploymentProjectEnvironments.action?id=11111111 1052337kb 2016-08-18 12:32:45,416 WARN [http-nio-8085-exec-70] [AuthorizationLoggerListener] Authorization failed: org.acegisecurity.AccessDeniedException: Access is denied; authenticated principal: org.acegisecurity.adapters.PrincipalAcegiUserToken@e5aa7892: Username: username; Password: [PROTECTED]; Authenticated: true; Details: null; Granted Authorities: ROLE_USER; secure object: ReflectiveMethodInvocation: public abstract java.util.List com.atlassian.bamboo.plan.cache.CachedPlanManager.getBranchesForChain(com.atlassian.bamboo.plan.PlanIdentifier); target is of class [com.atlassian.bamboo.plan.cache.CachedPlanManagerImpl]; configuration attributes: [ACL_BUILD_READ]

原因

The user or group does not have proper permissions to the build plan.

ソリューション

Despite having appropriate environment and deployment project permission, it is necessary for the user/group to have read permisssion to the respective build plan. Thus, grant 'View' permission to the affected user or group in the respective build plan and you should not see the error while deploying.

更新日時: September 25, 2025

さらにヘルプが必要ですか?

アトラシアン コミュニティをご利用ください。