Showing or hiding the log-out button depending on condition

Hello @binod,
Is there a possibility of showing on hiding the log-out button depending on the “contact.parent.parent.parent._id === 'uuid_of_district”?
Thanks,
Job

1 Like

Hi @Job_Isabai,

It might not be possible to show/hide the logout button based on a parent contact.

However, it is possible to set a role permission can_log_out_on_android that:

Displays logout menu item in the hamburger menu for Android users and can be used to log out from the application

3 Likes