I looked / searched in GitHub - medic/medic-docs: Replaced by https://github.com/medic/cht-docs. This repo was the former source of documentation for developing, configuring, and using Medic Mobile tools. and https://docs.communityhealthtoolkit.org/ but wasn’t able to find anything about how to hide certain tabs. If it is possible, can you please direct me to the documentation.
Yes this is possible and can be done by configuring permissions for specific users in app_settings.json
. For example, if you would like only a national_admin
user to see the people
tab, you would set the permission as below;
"permissions": {
"can_view_people_tab": [
"national_admin"
]
}
This means anyone who is not a national_admin
will not see the people
tab.
There isn’t any documentation on this but there is an issue for that here.
2 Likes