Allocating Apps to users

Is there a way in reference application, one can assign users apps depending on what they are supposed to do? For example a data clerk should only see registration app and find patient app. Admin should only see configure metadata app only and super user only to see everything else. I have tried creating roles and giving the privileges then assign those roles to user, but things seem not to work as expected.

Has anyone implemented this? @ssmusoke @dkayiwa @raff

You can use the requiredPrivilege see https://github.com/openmrs/openmrs-module-coreapps/blob/aec21b96352bd1f25daf0e81b90b18511bc314cd/omod/src/main/resources/apps/activeVisits_app.json#L15

2 Likes