EyeSeeTea / dataset-configuration-blessed

Enhanced dataset manager Dhis2 app (blessed repository)
GNU General Public License v3.0
0 stars 1 forks source link

Not able to see dataset in data entry form #150

Closed ErikaMichelet closed 6 years ago

ErikaMichelet commented 6 years ago

The user can create datasets but not view them in data entry form (only one dataset is visible). User: TKilunda Password: ****

I tried to work on the sharing settings of dataset and project to match the groups he belongs to and it didn't work. I talked about him before... could you please have a look and solve this issue? Many thanks Erika

tokland commented 6 years ago

Sorry for the delay, Erika. I've logged-in with user TKilunda and I see 3 (not 1) datasets available using any of the 4 organization units. For example:

screenshot from 2018-07-26 12-42-54

Can you tell me the name of the dataset(s) that you expect to see there but don't appear?

ErikaMichelet commented 6 years ago

The datasets he should see are all those created with the DC app and starting by KEFM KEFM1612 KEFM1719 KEFM1728 KEFM1801 KEFM1802 KEFM1807 KEFM1810 Thank you

tokland commented 6 years ago

It seems to be ok. Datasets are linked to certain orgUnits only.

Let's see an example: Dataset "KEFM 1612":

https://SERVER/dhis-web-maintenance/#/edit/dataSetSection/dataSet/Q4wogeIKSyS

We check which orgunits the dataset is linked to:

screenshot from 2018-08-08 12-10-47

And now let's check the available datasets for that orgUnit, expected dataset are shown:

screenshot from 2018-08-08 12-09-24

ErikaMichelet commented 6 years ago

Funny... Before I could not see it, even using the correct location. The important part is that it is solved. Thank you.

tokland commented 6 years ago

Erika, when checking this issue I noticed something: Remember that users that can create datasets should have rights to add those datasets to the corresponding user roles. For example, if a new dataset for country KE has core competency education, this new dataset will be added to user role "ke__dataset_education". That's only possible if the user has write-access to the user role.

TKilunda belongs to group KE_Administrator, but this group has read-only access to KE__dataset_xyz user roles:

https://gors.nrc.no/dhis-web-maintenance-user/allRole.action?currentPage=1&key=ke__dataset_education

(-> Sharing settings)