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*
emailsande...@thoughtworks.com
Telephone9686062727
[image: ThoughtWorks] <http://www.thoughtworks.com/>
_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to     : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp

Reply via email to