[
https://issues.apache.org/jira/browse/AMBARI-25065?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Akhil S Naik updated AMBARI-25065:
----------------------------------
Labels: pull-request-available (was: )
> 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: 3.0.0
>
> Attachments: Screen Shot 2018-12-20 at 4.04.11 PM.png, Screen Shot
> 2018-12-20 at 4.04.54 PM.png
>
>
> 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)