user rights with the web API

Hello,

I’m investigating the possibilities to create a reporting module to DHIS2 from another HIS, using the web API.

On the web demo, I created a data entry clerk user in one facility, so that my software can use that profile to send its reports. Using the web API with those credentials, I can enter data for another unrelated facility. Note that I can’t do the same if I use the web pages instead. Is this normal or am I missing something?

Thank you,

Loïc

PS : any pointer to more information about using the web API is very welcome!

···


Loïc Vaes

loicvaes@ulb.ac.be

vaes.cs@gmail.com

Skype: sk-loic

Hello Loic,

your observation is correct, we have not yet enforced that. We will fix it soon.

Documentation for the Web API can be found here:

regards,

Lars

···

On Thu, Aug 22, 2013 at 3:40 PM, Loïc vaes.cs@gmail.com wrote:

Hello,

I’m investigating the possibilities to create a reporting module to DHIS2 from another HIS, using the web API.

On the web demo, I created a data entry clerk user in one facility, so that my software can use that profile to send its reports. Using the web API with those credentials, I can enter data for another unrelated facility. Note that I can’t do the same if I use the web pages instead. Is this normal or am I missing something?

Thank you,

Loïc

PS : any pointer to more information about using the web API is very welcome!


Loïc Vaes

loicvaes@ulb.ac.be

vaes.cs@gmail.com

Skype: sk-loic


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

Documentation for the Web API can be found here:

http://www.dhis2.org/doc/snapshot/en/user/html/ch25.html

···

On Fri, Aug 23, 2013 at 1:30 PM, Lars Helge Øverland larshelge@gmail.com wrote:

Hello Loic,

your observation is correct, we have not yet enforced that. We will fix it soon.

Documentation for the Web API can be found here:

regards,

Lars

On Thu, Aug 22, 2013 at 3:40 PM, Loïc vaes.cs@gmail.com wrote:

Hello,

I’m investigating the possibilities to create a reporting module to DHIS2 from another HIS, using the web API.

On the web demo, I created a data entry clerk user in one facility, so that my software can use that profile to send its reports. Using the web API with those credentials, I can enter data for another unrelated facility. Note that I can’t do the same if I use the web pages instead. Is this normal or am I missing something?

Thank you,

Loïc

PS : any pointer to more information about using the web API is very welcome!


Loïc Vaes

loicvaes@ulb.ac.be

vaes.cs@gmail.com

Skype: sk-loic


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp