[Dhis2-devs] 500 error on api/users

2017-05-04 Thread Trøyel Nerbø
Dear all, Today when I try to open /api/users.json?paging=false I get a 500 error of the type: TTP Status 500 - Request processing failed; nested exception is org.hibernate.PropertyAccessException: Null value was assigned to a property of primitive type setter of org.hisp.dhis.user.UserCredenti

Re: [Dhis2-devs] [Dhis2-users] User Authorities and Dashboards

2017-05-04 Thread Morten Olav Hansen
Hi Georgi What version of DHIS2 are you on? from 226 you can share directly with users (just use the sharing dialog, and search for the user you want to share with) -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Thu, May 4, 2017 at 2:47 PM, Georgi Chaka

Re: [Dhis2-devs] [Dhis2-users] User Authorities and Dashboards

2017-05-04 Thread Morten Olav Hansen
Hm, I think maybe we support this only for the dashboards, so it might not help you (you can share dashboards directly to users, but reporting apps are not updated for that yet). -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Thu, May 4, 2017 at 5:28 PM,

Re: [Dhis2-devs] [Dhis2-users] User Authorities and Dashboards

2017-05-04 Thread Antonia - Pro
Permissions for Dashboard and Favorites are managed at the group level, so if they are not groupable, you need to create a group for each user. Regards, Antonia 2017-05-04 9:47 GMT+02:00 Georgi Chakarov : > Hi Alex, > > > > Thanks for the response! > > > > I have 150 investors and none of them

Re: [Dhis2-devs] [Dhis2-users] User Authorities and Dashboards

2017-05-04 Thread Antonia - Pro
Exactly Morten. For Dashboards, sharing also works at user level after the last update 2.26, but reports (data, event visualizer and reports and pivot tables) only work at group level currently (on the demo server). *Eng. Antonia Bezenchek* CIO - ICT Engineer *InformaPRO S.r.l.* via Guido Guinize

Re: [Dhis2-devs] [Dhis2-users] User Authorities and Dashboards

2017-05-04 Thread Jason Pickering
Hi Georgi, To be most specific I think, you will need to use the "Attribute option combo" to control who can see what. This is basically a way to disaggregate data by a custom dimension, in this case, by an investor group. Its often used in situations where multiple partners are entering data for

Re: [Dhis2-devs] [Dhis2-users] User Authorities and Dashboards

2017-05-04 Thread Jason Pickering
Hi Georgi, Good. You are on the right track then. >From the user management app, each investor needs to be restricted by the dimension you mentioned. Like from the demo site, you might decide to restrict a user to the "Funding agency" dimension. In order for you to obfuscate data from other us

Re: [Dhis2-devs] 500 error on api/users

2017-05-04 Thread Lars Helge Øverland
Hi Trøyel, not sure exactly what happened but seems like a problem with the db upgrade. Try to run this SQL for a immediate fix: update users set externalauth = false where externalauth is null; regards, Lars ​ On Thu, May 4, 2017 at 10:04 AM, Trøyel Nerbø wrote: > Dear all, > > > > Today wh

[Dhis2-devs] Filtering dataValueSets by catOptionCombo or dataElement

2017-05-04 Thread Greg Wilson
A request came in to be able to filter by catOptionCombo or dataElement (both of which are normally returned in a dataValueSets call). Per the docs ( https://docs.dhis2.org/master/en/developer/html/dhis2_developer_manual_full.html#webapi_reading_data_values), data values can be queried with a bunch