You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "amarnath reddy pappu (JIRA)" <ji...@apache.org> on 2018/12/21 00:04:00 UTC

[jira] [Created] (AMBARI-25065) Unable to add user in views 'grant permissions'

amarnath reddy pappu created AMBARI-25065:
---------------------------------------------

             Summary: 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
             Fix For: 3.0.0


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)