Sharing on metadata import

Hi devs,
I’m trying to import a new indicator (v2.24) with public access = none ("--------") and user group access limited to one group. However, the indicator gets imported with full public read/write access, and without the user group sharing.

I also tried to export an indicator, modify name and sharing attributes, and import it again. Update to name was saved, update to sharing was not. Metadata example attached for reference.

Is this a bug, or am I missing something?

Regards
Olav

metaData example.json (1.48 KB)

Hi Olav

Which endpoint did you use for this? /api/metadata or /api/24/metadata? (or did you just use the UI)

···

On Fri, Nov 4, 2016 at 3:59 PM, Olav Poppe olav.poppe@me.com wrote:

Hi devs,

I’m trying to import a new indicator (v2.24) with public access = none (“--------”) and user group access limited to one group. However, the indicator gets imported with full public read/write access, and without the user group sharing.

I also tried to export an indicator, modify name and sharing attributes, and import it again. Update to name was saved, update to sharing was not. Metadata example attached for reference.

Is this a bug, or am I missing something?

Regards

Olav


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

Morten Olav Hansen

Senior Engineer, DHIS 2

University of Oslo

http://www.dhis2.org

Hi, I tried both with /api/metadata and the UI.

Olav

···

On Fri, Nov 4, 2016 at 3:59 PM, Olav Poppe olav.poppe@me.com wrote:

Hi devs,

I’m trying to import a new indicator (v2.24) with public access = none (“--------”) and user group access limited to one group. However, the indicator gets imported with full public read/write access, and without the user group sharing.

I also tried to export an indicator, modify name and sharing attributes, and import it again. Update to name was saved, update to sharing was not. Metadata example attached for reference.

Is this a bug, or am I missing something?

Regards

Olav


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

Morten Olav Hansen

Senior Engineer, DHIS 2

University of Oslo

http://www.dhis2.org