Quantcast
Channel: DHIS2 Community - Latest topics
Viewing all articles
Browse latest Browse all 1830

Interpretation of the access string

$
0
0

Hi!

I’m working with setting access to different objects via the API. The use case is finding all objects with public write access and changing it to public read without manually going through all objects. I therefore want to know what the “rw------” string in the sharing object really means. It seems to me like its interpretation is slightly different for different objects. My interpretation so far is:

First element: “r” means metadata read access
Second element: “w” means metadata write access
Third element: “r” data read access (only relevant for dataSet and categoryOption)
Fourth element: “w” data write/capture access (only relevant for dataSet and categoryOption)
Fifth - eighth element: Not in use to my knowledge

Is this the correct interpretation? If not, how should I interpret the string?

Thanks in advance, August

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 1830

Trending Articles