Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
4836 Visualizzazioni

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
Abbandona
Risposta migliore

Hi,

You can add a record rule with the following domain,

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

Thanks

Avatar
Abbandona
Autore

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

Post correlati Risposte Visualizzazioni Attività
1
giu 22
3820
2
mar 25
6026
2
gen 22
3962
0
ott 21
2267
0
lug 21
2548