コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
4853 ビュー

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
3832
2
3月 25
6035
2
1月 22
3971
0
10月 21
2275
0
7月 21
2572