[
https://issues.apache.org/jira/browse/KYLIN-4470?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17094350#comment-17094350
]
ASF GitHub Bot commented on KYLIN-4470:
---------------------------------------
zhangayqian commented on a change in pull request #1187:
URL: https://github.com/apache/kylin/pull/1187#discussion_r416488280
##########
File path:
server-base/src/main/java/org/apache/kylin/rest/controller/UserController.java
##########
@@ -191,6 +191,8 @@ public ManagedUser save(@PathVariable("userName") String
userName, @RequestBody
}
logger.info("Saving {}", user);
+ user.setPassword(pwdEncode(user.getPassword()));
Review comment:
Debugging found that the password of the ‘user’ passed in by this method
is not encoded. If the password is directly updated to the metadata, the
authentication of the user name and password will fail for bad credential.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> The user cannot log in kylin normally after being assigned to a group
> ---------------------------------------------------------------------
>
> Key: KYLIN-4470
> URL: https://issues.apache.org/jira/browse/KYLIN-4470
> Project: Kylin
> Issue Type: Bug
> Components: Security
> Affects Versions: v3.0.0, v3.0.1
> Reporter: Yaqian Zhang
> Assignee: Yaqian Zhang
> Priority: Major
> Fix For: v3.1.0
>
> Original Estimate: 16h
> Remaining Estimate: 16h
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)