Uploaded image for project: 'Kylin'
  1. Kylin
  2. KYLIN-5312

Modify the password api, when the required password parameter is empty, the prompt information is not friendly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 5.0-alpha
    • Others
    • None

    Description

      rc:

      • 未对参数new_password做必填参数校验。
      • 文档描述错误,password不是必填项。当admin修改普通用户密码时,该参数非必填,admin修改A用户的密码,是不需要知道A用户的原始密码的。

      fix design:

      • 增加new_password的必填校验。
      • 如果是admin或者系统管理员用户修改普通用户或者其他系统管理员(非默认admin账户)时,可以不用输入password参数。
      • 如果是普通账户修改自己密码,没有输入password参数时,提示"KE-010043201: 请求参数 “password” 为空或值为空。请检查请求参数是否正确填写。"

      Attachments

        Activity

          People

            jlelehe Jiale He
            jlelehe Jiale He
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: