apache / apache/cloudstack

password change for former SAML user not working

オープン
#12,015 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る
long-term-plan
主要言語
Java
スター
3.1k
フォーク
1.4k
平均マージ
6日 19時間
マージ済み PR(30日)
32

説明

### problem

As an admin I'm able to reset password for a regular user without problems.
If SAML has been enabled for that user this is no longer possible within CloudStack. Expected behavior.
Once I disable SAML for that user I would expect that I'm able to change the password again. That is not the case and the error below will appear.

Image

Image

### versions

ACS 4.20.1

### The steps to reproduce the bug

1. run all steps as admin
2. create a user
3. reset the password for that user
4. enable SAML (needs to be configured before) for this user
5. try to reset the password (will fail)
6. disable SAML for this user
7. try to reset the password (should work?) will fail
...

### What to do about it?

Enable the possibility to change the password for a former SAML user.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

CloudStack 4.20.1 で管理者のパスワードリセットフローを再現します。ユーザーを作成し、SAML を有効化し、無効化してから、リセットを再試行します。パスワード変更のエントリポイントとユーザーの SAML 状態を追跡します。SAML を無効化した後、管理者が報告されたエラーなしでパスワードをリセットできれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
java
領域
authentication, backend
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
42/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。