[ https://issues.apache.org/jira/browse/AMBARI-25065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16778370#comment-16778370 ]
Hudson commented on AMBARI-25065: --------------------------------- SUCCESS: Integrated in Jenkins build Ambari-trunk-Commit #10471 (See [https://builds.apache.org/job/Ambari-trunk-Commit/10471/]) AMBARI-25065 - Unable to add user in views 'grant permissions' (vishalsuvagia: [https://gitbox.apache.org/repos/asf?p=ambari.git&a=commit&h=68458cb48f9a73dd3ff2d9c415aec92ea50102b7]) * (edit) ambari-admin/src/main/resources/ui/admin-web/test/unit/directives/editablelist_test.js * (edit) ambari-admin/src/main/resources/ui/admin-web/app/scripts/services/User.js > Unable to add user in views 'grant permissions' > ----------------------------------------------- > > Key: AMBARI-25065 > URL: https://issues.apache.org/jira/browse/AMBARI-25065 > Project: Ambari > Issue Type: Bug > Components: ambari-server > Affects Versions: 2.7.3 > Reporter: amarnath reddy pappu > Assignee: Akhil S Naik > Priority: Major > Labels: pull-request-available > Fix For: trunk, 2.8.0 > > Attachments: Screen Shot 2018-12-20 at 4.04.11 PM.png, Screen Shot > 2018-12-20 at 4.04.54 PM.png > > Time Spent: 50m > Remaining Estimate: 0h > > If number of users are more than 20 then it shows only 20 users list. for > other user it shows as not present. > Steps to reproduce: > 1. Create more than 20 users in Ambari > 2. Go to File views and start typing the random username under 'Grant > permission to these users' - for some it show red mark when try to save it. > Root cause: > UI is making REST API call to load only 20 users > http://172.25.33.6:8080/api/v1/users?Users/user_name.matches(.*.*)&from=0&page_size=20&_=1545350079963 > so Ambari is returning 20 users and rest of them will not shown in views > grant page. -- This message was sent by Atlassian JIRA (v7.6.3#76005)