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

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
Verwerfen
Beste Antwort

Hi,

You can add a record rule with the following domain,

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

Thanks

Avatar
Verwerfen
Autor

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

Verknüpfte Beiträge Antworten Ansichten Aktivität
1
Juni 22
3828
2
März 25
6033
2
Jan. 22
3969
0
Okt. 21
2273
0
Juli 21
2554