← Back to team overview

dhis2-devs team mailing list archive

Android App Event Capture 'Single Event'

 

Hello DHIS Dev List,

So does anyone know what are the minimum authorities for a user to enter
events using either the android app or web client?

I've been testing the Data Capture for DHIS 2 app against the Sierra Leone
in a test box and I think I've discovered something weird:

If the user does not have all the appropriate security roles it will
function like the user has the ability to enter events, but the upload
button will not give any indication that it failed to upload the event
(other than the message that it *did* complete fails to show up in the
notification bar).

So I've been trying to configure the 'mobile user' to be able to use this
app and I think I might be missing some Authorities.

Default Set for Mobile User in SL Demo:

   - Add/Update Data Value
   - Delete Data Value
   - See Dashboard integration module
   - See Data Entry module
   - See Light module
   - See Report module
   - See Smartphone module
   - See Validation Rule module

I went ahead and added the following:

   - Import events
   - See Event Capture module
   - Single Event With Registration Data Entry
   - Single Event Without Registration Data Entry

But that doesn't seem to be doing the trick yet. Coincidentally, with the
following permissions I can enter events with the web client, and it will
appear as if they've been added, BUT they appear only to be saved in client
side cache (as they never appear in the database). As soon as I log out
they never appear again to the web client.


Timothy Harding
RPCV Vanuatu
Skype: hardingt@xxxxxxxxx
+1 (541) 632-6623

Follow ups