Skip to Content
Menu
This question has been flagged
1 Reply
6745 Views

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 ?  


Avatar
Discard
Author

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

Best Answer

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.

Avatar
Discard
Related Posts Replies Views Activity
4
Apr 20
8793
1
Nov 19
3767
3
Oct 19
7554
2
Feb 18
13645
0
Jan 18
4147