콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
4842 화면

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.

아바타
취소
베스트 답변

Hi,

You can add a record rule with the following domain,

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

Thanks

아바타
취소
작성자

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

관련 게시물 답글 화면 활동
1
6월 22
3820
2
3월 25
6029
2
1월 22
3964
0
10월 21
2269
0
7월 21
2548