[
https://issues.apache.org/jira/browse/AMBARI-13853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15002448#comment-15002448
]
Hudson commented on AMBARI-13853:
---------------------------------
FAILURE: Integrated in Ambari-trunk-Commit #3820 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/3820/])
AMBARI-13853. UI should not use ldap_user field after introducing (hiveww:
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=bffa4d3688b1ff537871f0b9915cd2e8d227460d])
* ambari-web/test/models/user_test.js
* ambari-web/app/mappers/users_mapper.js
* ambari-web/app/models/user.js
> UI should not use ldap_user field after introducing user_type one.
> ------------------------------------------------------------------
>
> Key: AMBARI-13853
> URL: https://issues.apache.org/jira/browse/AMBARI-13853
> Project: Ambari
> Issue Type: Bug
> Components: ambari-web
> Affects Versions: 2.2.0
> Reporter: Antonenko Alexander
> Assignee: Antonenko Alexander
> Priority: Critical
> Fix For: 2.2.0
>
> Attachments: AMBARI-13853.patch
>
>
> {noformat}
> {
> "href" :
> "http://104.196.94.167:8080/api/v1/users/?Users/user_name.matches(.*.*)&fields=*&from=0&page_size=10&_=1443104119309",
> "itemTotal" : "2",
> "items" : [
> {
> "href" : "http://104.196.94.167:8080/api/v1/users/admin",
> "Users" : {
> "active" : true,
> "admin" : true,
> "groups" : [ ],
> "ldap_user" : false,
> "user_name" : "admin",
> "user_type" : "LOCAL"
> },
> "widget_layouts" : [ ],
> "privileges" : [
> {
> "href" :
> "http://104.196.94.167:8080/api/v1/users/admin/privileges/1",
> "PrivilegeInfo" : {
> "privilege_id" : 1,
> "user_name" : "admin"
> }
> }
> ]
> },
> {
> "href" : "http://104.196.94.167:8080/api/v1/users/jwt-user1",
> "Users" : {
> "active" : true,
> "admin" : false,
> "groups" : [ ],
> "ldap_user" : false,
> "user_name" : "jwt-user1",
> "user_type" : "JWT"
> },
> "widget_layouts" : [ ],
> "privileges" : [ ]
> }
> ]
> }
> {noformat}
> We introduce new field "user_type" instead of "ldap_user" flag as we have
> more than two user types now. I guess "ldap_user" field will remain on its
> place at lest for some time to provide backward compatibility.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)