Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-25065

Unable to add user in views 'grant permissions'

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        1. Screen Shot 2018-12-20 at 4.04.54 PM.png
          688 kB
          amarnath reddy pappu
        2. Screen Shot 2018-12-20 at 4.04.11 PM.png
          698 kB
          amarnath reddy pappu

        Issue Links

          Activity

            People

              asnaik Akhil Naik
              apappu@hortonworks.com amarnath reddy pappu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m