Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
1929 Ansichten

Is there a way that only the HR manager and supervisor can access the employees within a specific department?

For example, I have departments A,B,C,D and I want the employees under department 'A' should only be accessible by their HR Manager and the supervisor

The department A should only be visible to the HR Manager and the supervisor.

How can I do this, please help.

Avatar
Verwerfen
Beste Antwort

Hi,


Here are two effective methods:

Using Access Groups and Record Rules:

Step 1: Create Access Groups:

Create two new groups: "Dept A HR Manager" and "Dept A Supervisor."

Assign relevant users (HR Manager and Supervisor for Department A) to each group

Step 2: Define Record Rules:

Domain: [('department_id', '=', a_department_id)] (Replace a_department_id with the actual ID of Department A)

Groups: Choose "Read access" and "Write access" for both "Dept A HR Manager" and "Dept A Supervisor" groups.


Hope it helps

Avatar
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
0
Sept. 22
3762
1
März 18
3680
0
Mai 15
4726
0
Mai 19
3322
1
Feb. 25
7446