← Back to team overview

dhis2-devs team mailing list archive

Dashboards not showing up for non-admin users

 

Hi,

In the latest build Rev No. 18040, the non-admin users are not able to view
the dashboards which are assigned to their respective user groups.
On investigating further, we figured out that giving paging=false param to
/api/dashboards is causing the problem. This issue only occurs when user is
not a Superuser.

Here are the responses from the API calls.

http://localhost:8080/api/dashboards.json?paging=false (Logged in as test
user)
{

   - dashboards: [ ]

}

http://localhost:8080/api/dashboards.json (Logged in as test user)
{

   - pager: {
      - page: 1,
      - pageCount: 1,
      - total: 1
      },
   - dashboards: [
      - {
         - name: "AFGHANISTAN",
         - id: "b872ws1db3r"
         }
      ]

}







-- 
*Sandesh Doolipeta**Application Developer*
Emailsandeshd@xxxxxxxxxxxxxxxx
Telephone9686062727
[image: ThoughtWorks] <http://www.thoughtworks.com/>

Follow ups