I have setup the Role and Permission in ERPNext, but some modules are still visible to users not having access to them, though they cannot modify them but its visible.
I have also set the “Access Modules” still they are visible. For Example:
Accounts – Not Required
Contacts – Not Required
Learn – Not Required