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

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
9033
1
11月 19
3938
3
10月 19
7776
2
2月 18
13943
0
1月 18
4254