You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Akhil S Naik (JIRA)" <ji...@apache.org> on 2018/12/27 04:30:00 UTC
[jira] [Commented] (AMBARI-25065) Unable to add user in views
'grant permissions'
[ https://issues.apache.org/jira/browse/AMBARI-25065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16729319#comment-16729319 ]
Akhil S Naik commented on AMBARI-25065:
---------------------------------------
This issue is related to AMBARI-23342 ,
After the fix of AMBARI-23342 , ambari-web is not querying for server for autofill but fetches every data while on start.
we should restrict the API to 20 commands in that case.
> 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)