← Back to team overview

dhis2-devs team mailing list archive

Re: getting list of datasets

 

Hello Dave,

Thank you for your prompt answer. Unfortunately, this time, this is not the
case :( The user has already the role asigned for this dataset and I can
verify he can see it when going to the url /api/dataSets.

Thank you for your idea anyway !

2017-12-11 15:11 GMT+01:00 David Palmer <David.Palmer@xxxxxxxxxxxxxxx>:

> Hi Ramon, for a user to see a dataset please note there are 2 places this
> has to be done. A user must be assigned both a user group for which the
> dataset is shared to, but also in a user role for which the dataset has
> been added to.
>
>
> You mention sharing below, but not adding the dataset to the user role?
> This has caught us out a few times – check the datasets are selected in the
> user role.
>
>
> Cheers,
>
> Dave
>
>
>
> *From:* Dhis2-devs [mailto:dhis2-devs-bounces+david.palmer=
> mariestopes.org.uk@xxxxxxxxxxxxxxxxxxx] *On Behalf Of *Ramón José Jiménez
> Pomareta
> *Sent:* 11 December 2017 13:52
> *To:* Ramón José Jiménez Pomareta
> *Cc:* DHIS 2 developers
> *Subject:* Re: [Dhis2-devs] getting list of datasets
>
>
>
> Update: Only giving the "ALL" authoritie to the user fix the issue... :(
>
>
>
> 2017-12-11 13:25 GMT+01:00 Ramón José Jiménez Pomareta <dhis2@xxxxxxxxxxx
> >:
>
> Hello !
>
>
>
> I've seen that DHIS2 call this two url in order to retrieve and match the
> list of datasets with the countries.
>
>
>
> https://DHIS2URL/dhis-web-dataentry/getMetaData.action?_=A13SIZEDNUMBER
>
> https://DHIS2URL/dhis-web-dataentry/getDataSetAssociations.action?
> _=THESAME13SIZEDNUMBER+1
>
>
>
> My problem is that some users don't get all the datasets that are shared
> with them. (The superusers can get these dataset for the same orgUnits).
> The dataset with which I have problems has a "default form type". The
> others are "custom". Could be this ?
>
>
>
> The server don't say anything.
>
>
>
> Thank you !
>
> Ramón.
>
>
> This Email from Marie Stopes International and any attachments may contain
> information which is privileged or confidential. It is meant only for the
> individual(s) or entity named above. If you are not the intended
> recipient(s) of this Email or any part of it please notify the sender
> immediately on receipt and delete it from your system. Any opinion or other
> information in this email or its attachments that does not relate to the
> business of Marie Stopes International is personal to the sender and is not
> given or endorsed by Marie Stopes International.
>

Follow ups

References