You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kylin.apache.org by "Jiale He (Jira)" <ji...@apache.org> on 2022/12/01 06:11:00 UTC

[jira] [Created] (KYLIN-5312) Modify the password api, when the required password parameter is empty, the prompt information is not friendly

Jiale He created KYLIN-5312:
-------------------------------

             Summary: Modify the password api, when the required password parameter is empty, the prompt information is not friendly
                 Key: KYLIN-5312
                 URL: https://issues.apache.org/jira/browse/KYLIN-5312
             Project: Kylin
          Issue Type: Bug
          Components: Others
            Reporter: Jiale He
             Fix For: 5.0-alpha


rc:
 * 未对参数{{{}new_password{}}}做必填参数校验。

 * 产品文档描述错误,{{{}password{}}}不是必填项。当admin修改普通用户密码时,该参数非必填,admin修改A用户的密码,是不需要知道A用户的原始密码的。

fix design:
 * 增加{{{}new_password{}}}的必填校验。

 * 如果是admin或者系统管理员用户修改普通用户或者其他系统管理员(非默认admin账户)时,可以不用输入{{{}password{}}}参数。

 * 如果是普通账户修改自己密码,没有输入{{{}password{}}}参数时,提示{{{}"KE-010043201: 请求参数 “password” 为空或值为空。请检查请求参数是否正确填写。"{}}}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)