Hi I would like to share this simple app
What does it do:
- You can hide/unhide Modules per Role which will be applied to Users with that Role.
- You can Hide Icons Globally.
What I’m trying to solve:
I'm creating modules and there are a lot of doctypes & reports within it. I Want to hide these modules and create individual desktop Icons for each doctype & reports and hide the modules so that only the shortcuts will be shown. And it is a tedious thing to do if you are going to unhide modules manually to each user, especially if you have tons of users.
I know for the fact that you can actually hide modules/doctypes if you set the roles. But I have a module that several type of Roles can access it. Ex.
I have Role A and B
and I have Module X
and Doctype Y and Z
Both Role A and B can access Module X, since Role A can access Doctype Y and Role B can access Z. Now instead of going to Module X, I created shortcut desktop icons for Doctype Y and Z for users directly access it. And I want to hide Module X’s Desktop Icon. By integrating frappe’s code to this App that I created:
Before:
After: