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