Remove access to the Resource Calendar

I have a role that only has access to the leads module only. However, when a lead is created there is a workflow where a project is created by this role.

Thus, if they have created a lead, then on the All dropdown, there is now an entry for Resource Calendar, which shows all the resources that are allocated to projects. I don’t want them to have access to that.

They don’t have access to the project’s module, but in the roles editor, there is no way to restrict access for the Resource Calendar module.

How do I remove that access for the role only?

It seems somebody forgot to include that in Role editor. You’d have to really dig in to the code to change that.

I am assuming that simply hiding it for everyone in Admin / Display Modules and Subpanels is not an adequate solution for you?

So, after some digging it’s:

Admin → User Management → Select User → Actions → Edit → Advanced → Select Modules for Navigation Bar

This allows me to hide what I want from the menu nav. I’m assuming this is what you meant by your solution above.

However, if someone wanted to access it, they still can (if they know how to access it directly) so that defeats the roles selection thing. Hopefully someone can let the devs know this exists. I’m using 7.8.19 if anyone let’s the devs know.

I meant precisely Admin area / “Display Modules and Subpanels” option…

If you want to tell the devs about this you can open an Issue on GitHub.

If I do it your way, then all users will not be able to access this from the menu, is this correct?

Yes, correct. When in doubt, try it! I encourage you to play with the system and experiment.