コンテンツへスキップ
メニュー
この質問にフラグが付けられました

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.

アバター
破棄
最善の回答

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

アバター
破棄
関連投稿 返信 ビュー 活動
0
9月 22
3707
1
3月 18
3665
0
5月 15
4699
0
5月 19
3294
1
2月 25
7396