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

self.sudo().create() bypasses the access rights from the logged in user to admin. 

How to retain the logged in user rights once the record set is created ?  


アバター
破棄
著作者

@hilar AK : It worked! Thanks a lot...

最善の回答

In default using sudo() function By default, this returns a `SUPERUSER` recordset, where access control and record rules are bypassed. You can pass your user id in sudo() function and can retain as logged user access right.

アバター
破棄
関連投稿 返信 ビュー 活動
4
4月 20
9024
1
11月 19
3934
3
10月 19
7766
2
2月 18
13932
0
1月 18
4253