Removing a user from a group in the internal directory fails

お困りですか?

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

コミュニティに質問

プラットフォームについて: Server と Data Center のみ - この記事は、サーバーおよびデータセンター プラットフォームのアトラシアン製品にのみ適用されます。

問題

When removing a user from a group in the internal directory that does not exist in any other user directory, the following error message is shown to the user: No user named "<username>" was found

The same error is returned when deleting the user through the REST API.

With debug logging enabled, a line similar to the following appears in the atlassian-bitbucket.log:

"DELETE /rest/api/1.0/admin/users HTTP/1.1" c.a.s.i.r.e.ServiceExceptionMapper Mapping ServiceException to REST response 404


com.atlassian.bitbucket.user.NoSuchUserException: No user named '<username>' was found

原因

The search for the user should continue until it is found in one of the user directories, but in this case it returns this error before it attempts to search the internal directory.

ソリューション

Move the internal Bitbucket directory above all other user directories, to ensure it checks for the user in this directory first, then delete the user from the group.

 

最終更新日: 2016 年 9 月 24 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.