Hi devs,
I struggling to set up tracker so that users in different orgunits can enter data for different stages in the same enrollement. I’ve been testing both in a dev database I’m working on and on play, with 2.24 and 2.25, and the result is the same:
User A in Facility A enrolls a TEI in a program
User B in Facility B searches for the TEI, but when opening the dashboard it just shows “No active enrollment.”. At the same time, trying to enroll the person also fails, since the TEI is already enrolled…
Any advice on what I’m missing? I’ve even tested with “superusers” with no luck, so I don’t think its a user role issue.
Its good practice to create a user may or might be with superuser role for any kind of system testing,
make sure it should be assigned with some organisation unit as well.
regards,
···
On Thu, Oct 27, 2016 at 8:17 PM, Olav Poppe olav.poppe@me.com wrote:
Hi devs,
I struggling to set up tracker so that users in different orgunits can enter data for different stages in the same enrollement. I’ve been testing both in a dev database I’m working on and on play, with 2.24 and 2.25, and the result is the same:
User A in Facility A enrolls a TEI in a program
User B in Facility B searches for the TEI, but when opening the dashboard it just shows “No active enrollment.”. At the same time, trying to enroll the person also fails, since the TEI is already enrolled…
Any advice on what I’m missing? I’ve even tested with “superusers” with no luck, so I don’t think its a user role issue.
I am not able to reproduce. It works fine from my side when testing with Child program.
Can you tell the steps to reproduce?
···
On Thu, Oct 27, 2016 at 4:47 PM, Olav Poppe olav.poppe@me.com wrote:
Hi devs,
I struggling to set up tracker so that users in different orgunits can enter data for different stages in the same enrollement. I’ve been testing both in a dev database I’m working on and on play, with 2.24 and 2.25, and the result is the same:
User A in Facility A enrolls a TEI in a program
User B in Facility B searches for the TEI, but when opening the dashboard it just shows “No active enrollment.”. At the same time, trying to enroll the person also fails, since the TEI is already enrolled…
Any advice on what I’m missing? I’ve even tested with “superusers” with no luck, so I don’t think its a user role issue.
Thanks, Abyot. I tried to set up user accounts on play.dhis2.org/demo so that you could see, but for some reason I’m not able to assign “Search orgunits”, server returns this error:
{“httpStatus”:“Internal Server Error”,“httpStatusCode”:500,“status”:“ERROR”,“message”:“Month not valid [1,7]”}
Will share logons to a different server privately.
The steps to reproduce is:
One user assigned to facility A creates a TEI and enrols the TEI in a program in his/her facility.
Another user assigned to facility B searches for the TEI, and opens the TEI dashboard. However, the enrolment done in facility A is not visible. At the same time, it is not possible to enrol the TEI again in facility B, because the TEI has an active enrolment in the same programme.
Olav
···
On Thu, Oct 27, 2016 at 4:47 PM, Olav Poppe olav.poppe@me.com wrote:
Hi devs,
I struggling to set up tracker so that users in different orgunits can enter data for different stages in the same enrollement. I’ve been testing both in a dev database I’m working on and on play, with 2.24 and 2.25, and the result is the same:
User A in Facility A enrolls a TEI in a program
User B in Facility B searches for the TEI, but when opening the dashboard it just shows “No active enrollment.”. At the same time, trying to enroll the person also fails, since the TEI is already enrolled…
Any advice on what I’m missing? I’ve even tested with “superusers” with no luck, so I don’t think its a user role issue.
I see… now I know the difference of scenarios we have been testing. I was using the same user with access to both facilities…
with the scenario you are setting, seems we need to do some work from server side so that we allow not only access to TEI but also to related enrollments and events … Seems we don’t really need TEI Search orgunit rather data view orgunit which we already have …
Have you set data view orgunit to your user?
May be Lars and Morten can comment on if we are using data view orgunits in enrollments and events
···
On Fri, Oct 28, 2016 at 3:52 PM, Olav Poppe olav.poppe@me.com wrote:
Thanks, Abyot. I tried to set up user accounts on play.dhis2.org/demo so that you could see, but for some reason I’m not able to assign “Search orgunits”, server returns this error:
{“httpStatus”:“Internal Server Error”,“httpStatusCode”:500,“status”:“ERROR”,“message”:“Month not valid [1,7]”}
Will share logons to a different server privately.
The steps to reproduce is:
One user assigned to facility A creates a TEI and enrols the TEI in a program in his/her facility.
Another user assigned to facility B searches for the TEI, and opens the TEI dashboard. However, the enrolment done in facility A is not visible. At the same time, it is not possible to enrol the TEI again in facility B, because the TEI has an active enrolment in the same programme.
Olav
okt. 2016 kl. 09.21 skrev Abyot Asalefew Gizaw abyot@dhis2.org:
Hi Olav,
I am not able to reproduce. It works fine from my side when testing with Child program.
On Thu, Oct 27, 2016 at 4:47 PM, Olav Poppe olav.poppe@me.com wrote:
Hi devs,
I struggling to set up tracker so that users in different orgunits can enter data for different stages in the same enrollement. I’ve been testing both in a dev database I’m working on and on play, with 2.24 and 2.25, and the result is the same:
User A in Facility A enrolls a TEI in a program
User B in Facility B searches for the TEI, but when opening the dashboard it just shows “No active enrollment.”. At the same time, trying to enroll the person also fails, since the TEI is already enrolled…
Any advice on what I’m missing? I’ve even tested with “superusers” with no luck, so I don’t think its a user role issue.
You need to give both clinic_dingo and lab_apple data view orgunit. I just assigned Trainingland for both them and it works.
···
On Fri, Oct 28, 2016 at 4:01 PM, Abyot Asalefew Gizaw abyot@dhis2.org wrote:
I see… now I know the difference of scenarios we have been testing. I was using the same user with access to both facilities…
with the scenario you are setting, seems we need to do some work from server side so that we allow not only access to TEI but also to related enrollments and events … Seems we don’t really need TEI Search orgunit rather data view orgunit which we already have …
Have you set data view orgunit to your user?
May be Lars and Morten can comment on if we are using data view orgunits in enrollments and events
On Fri, Oct 28, 2016 at 3:52 PM, Olav Poppe olav.poppe@me.com wrote:
Thanks, Abyot. I tried to set up user accounts on play.dhis2.org/demo so that you could see, but for some reason I’m not able to assign “Search orgunits”, server returns this error:
{“httpStatus”:“Internal Server Error”,“httpStatusCode”:500,“status”:“ERROR”,“message”:“Month not valid [1,7]”}
Will share logons to a different server privately.
The steps to reproduce is:
One user assigned to facility A creates a TEI and enrols the TEI in a program in his/her facility.
Another user assigned to facility B searches for the TEI, and opens the TEI dashboard. However, the enrolment done in facility A is not visible. At the same time, it is not possible to enrol the TEI again in facility B, because the TEI has an active enrolment in the same programme.
Olav
okt. 2016 kl. 09.21 skrev Abyot Asalefew Gizaw abyot@dhis2.org:
Hi Olav,
I am not able to reproduce. It works fine from my side when testing with Child program.
On Thu, Oct 27, 2016 at 4:47 PM, Olav Poppe olav.poppe@me.com wrote:
Hi devs,
I struggling to set up tracker so that users in different orgunits can enter data for different stages in the same enrollement. I’ve been testing both in a dev database I’m working on and on play, with 2.24 and 2.25, and the result is the same:
User A in Facility A enrolls a TEI in a program
User B in Facility B searches for the TEI, but when opening the dashboard it just shows “No active enrollment.”. At the same time, trying to enroll the person also fails, since the TEI is already enrolled…
Any advice on what I’m missing? I’ve even tested with “superusers” with no luck, so I don’t think its a user role issue.
Thanks, Abyot! I though data view only concerned output (analytics etc), I didn’t know it also had implications for data entry.
Olav
···
On Fri, Oct 28, 2016 at 4:01 PM, Abyot Asalefew Gizaw abyot@dhis2.org wrote:
I see… now I know the difference of scenarios we have been testing. I was using the same user with access to both facilities…
with the scenario you are setting, seems we need to do some work from server side so that we allow not only access to TEI but also to related enrollments and events … Seems we don’t really need TEI Search orgunit rather data view orgunit which we already have …
Have you set data view orgunit to your user?
May be Lars and Morten can comment on if we are using data view orgunits in enrollments and events
On Fri, Oct 28, 2016 at 3:52 PM, Olav Poppe olav.poppe@me.com wrote:
Thanks, Abyot. I tried to set up user accounts on play.dhis2.org/demo so that you could see, but for some reason I’m not able to assign “Search orgunits”, server returns this error:
{“httpStatus”:“Internal Server Error”,“httpStatusCode”:500,“status”:“ERROR”,“message”:“Month not valid [1,7]”}
Will share logons to a different server privately.
The steps to reproduce is:
One user assigned to facility A creates a TEI and enrols the TEI in a program in his/her facility.
Another user assigned to facility B searches for the TEI, and opens the TEI dashboard. However, the enrolment done in facility A is not visible. At the same time, it is not possible to enrol the TEI again in facility B, because the TEI has an active enrolment in the same programme.
Olav
okt. 2016 kl. 09.21 skrev Abyot Asalefew Gizaw abyot@dhis2.org:
Hi Olav,
I am not able to reproduce. It works fine from my side when testing with Child program.
On Thu, Oct 27, 2016 at 4:47 PM, Olav Poppe olav.poppe@me.com wrote:
Hi devs,
I struggling to set up tracker so that users in different orgunits can enter data for different stages in the same enrollement. I’ve been testing both in a dev database I’m working on and on play, with 2.24 and 2.25, and the result is the same:
User A in Facility A enrolls a TEI in a program
User B in Facility B searches for the TEI, but when opening the dashboard it just shows “No active enrollment.”. At the same time, trying to enroll the person also fails, since the TEI is already enrolled…
Any advice on what I’m missing? I’ve even tested with “superusers” with no luck, so I don’t think its a user role issue.
I’m very interested in this thread, but really confused by it.
What do you mean by ‘data view’ org units – are you referring to ‘Data output and analysis organisation units’?
Like Olav, my understanding was that this should be handled by ‘Assign search org units’ – ie if you give a user ‘Data capture’ and ‘Data output’ permissions for just one org unit, but give them ‘Search org units’ for the whole tree, then they can search and view records for any TEI, but can only edit records for their own org unit.
I’m pretty sure that’s how it works in 2.24 – has this changed in 2.25?
On Fri, Oct 28, 2016 at 4:01 PM, Abyot Asalefew Gizaw abyot@dhis2.org wrote:
I see… now I know the difference of scenarios we have been testing. I was using the same user with access to both facilities…
with the scenario you are setting, seems we need to do some work from server side so that we allow not only access to TEI but also to related enrollments and events … Seems we don’t really need TEI Search orgunit rather data view orgunit which we already have …
Have you set data view orgunit to your user?
May be Lars and Morten can comment on if we are using data view orgunits in enrollments and events
On Fri, Oct 28, 2016 at 3:52 PM, Olav Poppe olav.poppe@me.com wrote:
Thanks, Abyot. I tried to set up user accounts on
play.dhis2.org/demo so that you could see, but for some reason I’m not able to assign “Search orgunits”, server returns this error:
{“httpStatus”:“Internal Server Error”,“httpStatusCode”:500,“status”:“ERROR”,“message”:“Month not valid [1,7]”}
Will share logons to a different server privately.
The steps to reproduce is:
One user assigned to facility A creates a TEI and enrols the TEI in a program in his/her facility.
Another user assigned to facility B searches for the TEI, and opens the TEI dashboard. However, the enrolment done in facility A is not visible. At the same time, it is not possible to enrol the TEI again in facility B, because the TEI has an active enrolment in the same programme.
Olav
okt. 2016 kl. 09.21 skrev Abyot Asalefew Gizaw abyot@dhis2.org:
Hi Olav,
I am not able to reproduce. It works fine from my side when testing with Child program.
On Thu, Oct 27, 2016 at 4:47 PM, Olav Poppe olav.poppe@me.com wrote:
Hi devs,
I struggling to set up tracker so that users in different orgunits can enter data for different stages in the same enrollement. I’ve been testing both in a dev database I’m working on and on play, with 2.24 and 2.25, and the result is the same:
User A in Facility A enrolls a TEI in a program
User B in Facility B searches for the TEI, but when opening the dashboard it just shows "No active enrollment. ". At the same time, trying to enroll the person also fails, since the TEI is already enrolled…
Any advice on what I’m missing? I’ve even tested with “superusers” with no luck, so I don’t think its a user role issue.
Yes, by data view I meant data output and analysis organisation units.
Nothing has changed in 2.25. What we have so far, TEI search organisation unit applies only for tracked entity instances. As I mentioned in my earlier mail, we need to do some work from server side so that we allow not only access to TEI but also to related enrollments and events.
I’m very interested in this thread, but really confused by it.
What do you mean by ‘data view’ org units – are you referring to ‘Data output and analysis organisation units’?
Like Olav, my understanding was that this should be handled by ‘Assign search org units’ – ie if you give a user ‘Data capture’ and ‘Data output’ permissions for just one org unit, but give them ‘Search org units’ for the whole tree, then they can search and view records for any TEI, but can only edit records for their own org unit.
I’m pretty sure that’s how it works in 2.24 – has this changed in 2.25?
On Fri, Oct 28, 2016 at 4:01 PM, Abyot Asalefew Gizaw abyot@dhis2.org wrote:
I see… now I know the difference of scenarios we have been testing. I was using the same user with access to both facilities…
with the scenario you are setting, seems we need to do some work from server side so that we allow not only access to TEI but also to related enrollments and events … Seems we don’t really need TEI Search orgunit rather data view orgunit which we already have …
Have you set data view orgunit to your user?
May be Lars and Morten can comment on if we are using data view orgunits in enrollments and events
On Fri, Oct 28, 2016 at 3:52 PM, Olav Poppe olav.poppe@me.com wrote:
Thanks, Abyot. I tried to set up user accounts on
play.dhis2.org/demo so that you could see, but for some reason I’m not able to assign “Search orgunits”, server returns this error:
{“httpStatus”:“Internal Server Error”,“httpStatusCode”:500,“status”:“ERROR”,“message”:“Month not valid [1,7]”}
Will share logons to a different server privately.
The steps to reproduce is:
One user assigned to facility A creates a TEI and enrols the TEI in a program in his/her facility.
Another user assigned to facility B searches for the TEI, and opens the TEI dashboard. However, the enrolment done in facility A is not visible. At the same time, it is not possible to enrol the TEI again in facility B, because the TEI has an active enrolment in the same programme.
Olav
okt. 2016 kl. 09.21 skrev Abyot Asalefew Gizaw abyot@dhis2.org:
Hi Olav,
I am not able to reproduce. It works fine from my side when testing with Child program.
On Thu, Oct 27, 2016 at 4:47 PM, Olav Poppe olav.poppe@me.com wrote:
Hi devs,
I struggling to set up tracker so that users in different orgunits can enter data for different stages in the same enrollement. I’ve been testing both in a dev database I’m working on and on play, with 2.24 and 2.25, and the result is the same:
User A in Facility A enrolls a TEI in a program
User B in Facility B searches for the TEI, but when opening the dashboard it just shows "No active enrollment. ". At the same time, trying to enroll the person also fails, since the TEI is already enrolled…
Any advice on what I’m missing? I’ve even tested with “superusers” with no luck, so I don’t think its a user role issue.
Deepest apologies, you’re right, I’ve just checked and this is exactly the same in 2.24. (I hadn’t noticed that I’d given all staff ‘data output’ permissions to the entire org unit tree.)
And on reflection, this actually makes a lot of sense the way it is: if a user can see the individual patient records in the Tracker, there’s not much point hiding the same data from them in the analytics. (If you want to block them from exploring the data, I guess you could just give them the ‘Dashboard’ app, without any other analytics apps.) The current setup also means you can set wide ‘search org units’ to allow an individual org unit to find any TEI and attach data to it, while still maintaining narrow ‘data output org units’ to prevent them seeing other org units’ data when they open a TEI’s dashboard.
Subject: Re: [Dhis2-devs] Tracker - enter data for different stages in programme in different orgunits
Hi Sam,
Yes, by data view I meant data output and analysis organisation units.
Nothing has changed in 2.25. What we have so far, TEI search organisation unit applies only for tracked entity instances. As I mentioned in my earlier mail, we need to do some work from server side so that we allow not only access to TEI but also to related enrollments and events.
I’m very interested in this thread, but really confused by it.
What do you mean by ‘data view’ org units – are you referring to ‘Data output and analysis organisation units’?
Like Olav, my understanding was that this should be handled by ‘Assign search org units’ – ie if you give a user ‘Data capture’ and ‘Data output’ permissions for just one org unit, but give them ‘Search org units’ for the whole tree, then they can search and view records for any TEI, but can only edit records for their own org unit.
I’m pretty sure that’s how it works in 2.24 – has this changed in 2.25?
On Fri, Oct 28, 2016 at 4:01 PM, Abyot Asalefew Gizaw abyot@dhis2.org wrote:
I see… now I know the difference of scenarios we have been testing. I was using the same user with access to both facilities…
with the scenario you are setting, seems we need to do some work from server side so that we allow not only access to TEI but also to related enrollments and events … Seems we don’t really need TEI Search orgunit rather data view orgunit which we already have …
Have you set data view orgunit to your user?
May be Lars and Morten can comment on if we are using data view orgunits in enrollments and events
On Fri, Oct 28, 2016 at 3:52 PM, Olav Poppe olav.poppe@me.com wrote:
Thanks, Abyot. I tried to set up user accounts on play.dhis2.org/demo so that you could see, but for some reason I’m not able to assign “Search orgunits”, server returns this error:
{“httpStatus”:“Internal Server Error”,“httpStatusCode”:500,“status”:“ERROR”,“message”:“Month not valid [1,7]”}
Will share logons to a different server privately.
The steps to reproduce is:
One user assigned to facility A creates a TEI and enrols the TEI in a program in his/her facility.
Another user assigned to facility B searches for the TEI, and opens the TEI dashboard. However, the enrolment done in facility A is not visible. At the same time, it is not possible to enrol the TEI again in facility B, because the TEI has an active enrolment in the same programme.
Olav
okt. 2016 kl. 09.21 skrev Abyot Asalefew Gizaw abyot@dhis2.org:
Hi Olav,
I am not able to reproduce. It works fine from my side when testing with Child program.
On Thu, Oct 27, 2016 at 4:47 PM, Olav Poppe olav.poppe@me.com wrote:
Hi devs,
I struggling to set up tracker so that users in different orgunits can enter data for different stages in the same enrollement. I’ve been testing both in a dev database I’m working on and on play, with 2.24 and 2.25, and the result is the same:
User A in Facility A enrolls a TEI in a program
User B in Facility B searches for the TEI, but when opening the dashboard it just shows "No active enrollment. ". At the same time, trying to enroll the person also fails, since the TEI is already enrolled…
Any advice on what I’m missing? I’ve even tested with “superusers” with no luck, so I don’t think its a user role issue.