跳至内容
菜单
此问题已终结
1 回复
4610 查看

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
3478
2
3月 25
5592
2
1月 22
3634
0
10月 21
2011
0
7月 21
2180