How can I hide workspace based on role and user

Ex: have 3 users → User A , B, and C
if they login

A can see every workspace
B can see only HR → in hr dropdown can see only Shift & Attendance and Leaves
C can see only Accounting → only Financial Reports

Screenshot from 2025-02-01 11-11-39

Screenshot from 2025-02-01 11-11-57

Hi,

Module Selection:
Go to User List → User B → Allow Module → HR
Remove all not applicable Modules from the list.

Create New Role for User B & User C.
Goto Role Permissions Manager.
Give them specific permissions for workspace.

You may check reference documents at
https://docs.frappe.io/erpnext/user/manual/en/permissions

& refer this video

I hope this helps.

Thank for response

I have created user-only permission for Payment Entry, Journal Entry, and Purchase Invoice.
so the task is the user can see only Payables and Receivables
but he can see other stuff as well like **Financial Reports, Quality,etc

this the picture

Sir,

Please check Role Permission & Modules rights well, You will find the loophole for sure.

Remove unnecessary than you will be good to go.