Module access role wise?

How can I give access to some modules role wise? I mean If I want that an employee can not access to settings module how can i set it? Currently, I am doing that using allow modules access on user page for each employee.

Please guide.

Thanks

You can go to role permission manager and select doctype and respective role to give permissions.

You can add permission rules as per your requirements.
Hope this might help

But you only control Doctype Access not the Module Access, and there are some doctypes that have default access permisions in some roles but you don’t want to show the parent module in the menu. How you can hide the module (in the menu bar) but let the users access children Doctypes in other places, like search bar? (in a role level manner)