[
https://issues.apache.org/jira/browse/AMBARI-6849?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14095649#comment-14095649
]
Aleksandr Kovalenko commented on AMBARI-6849:
---------------------------------------------
+1 for the patch
> Admin: remove "roles" prop from users
> -------------------------------------
>
> Key: AMBARI-6849
> URL: https://issues.apache.org/jira/browse/AMBARI-6849
> Project: Ambari
> Issue Type: Bug
> Components: client
> Affects Versions: 1.7.0
> Reporter: Andrii Babiichuk
> Assignee: Andrii Babiichuk
> Priority: Critical
> Fix For: 1.7.0
>
> Attachments: AMBARI-6849.patch
>
>
> Remove the "roles" from a "user". This is legacy at this point, and we should
> remove it now so we find all areas where this might be used.
> {code}
> {
> "href" : "http://{host}/api/v1/users/admin",
> "Users" : {
> "active" : true,
> "groups" : [ ],
> "ldap_user" : false,
> "roles" : [
> "admin"
> ],
> "user_name" : "admin"
> }
> }{code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)