Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
4761 Widoki

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.

Awatar
Odrzuć
Najlepsza odpowiedź

Hi,

You can add a record rule with the following domain,

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

Thanks

Awatar
Odrzuć
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

Powiązane posty Odpowiedzi Widoki Czynność
1
cze 22
3696
2
mar 25
5894
2
sty 22
3866
0
paź 21
2192
0
lip 21
2431