İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
4786 Görünümler

In hr.employee , only HR manager and HR Officer group users have access to edit the records.

My requirement is, Related users can edit the private information section of their employee record only and also view all other employee information.

  

How to achieve this.

Avatar
Vazgeç
En İyi Yanıt

Hi,

You can add a record rule with the following domain,

[('user_id','=',user.id)]

Thanks

Avatar
Vazgeç
Üretici

If i do this then the user wont be able to view other employee records. My requirement is the user can view other records but cant edit them. Edit permission is only for the related employee record.

define the another rule for the others, with the above domain allow read, write. WIth new domain give only read permission

İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Haz 22
3756
2
Mar 25
5948
2
Oca 22
3937
0
Eki 21
2218
0
Tem 21
2504