Permission error on user profile page after adding SSH key

プラットフォームについて: 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 は除く

症状

After adding SSH key on user profile page, the page load with permission error.

The following appears in the atlassian-bitbucket.log with debug logging:

2013-03-25 11:50:20,318 DEBUG [http-bio-7990-exec-737] 0123 710x9052x1 199drao 43.9.31.202,43.2.136.66 "GET /admin/users/more-members HTTP/1.1" c.a.s.r.e.ServiceExceptionMapper Mapping ServiceException to REST response 401 com.atlassian.bitbucket.exception.AuthorisationException: You are not permitted to access this resource at com.atlassian.bitbucket.internal.aop.ExceptionRewriteAdvice.afterThrowing(ExceptionRewriteAdvice.java:35) ~[bitbucket-platform-2.0.3.jar:na] at sun.reflect.GeneratedMethodAccessor1326.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_15] at java.lang.reflect.Method.invoke(Method.java:601) ~[na:1.7.0_15] at org.springframework.aop.framework.adapter.ThrowsAdviceInterceptor.invokeHandlerMethod(ThrowsAdviceInterceptor.java:144) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE]

原因

This is a bug in Bitbucket Server when the username is a numeric starting with zero: BSERV-3285 - Profile javascript errors for users with numeric usernames starting with zero

ソリューション

Upgrade to Bitbucket Server 2.3.1+

更新日時: September 25, 2025

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

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