Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
6915 Prikazi

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
Opusti
Avtor

@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
Opusti
Related Posts Odgovori Prikazi Aktivnost
4
apr. 20
9031
1
nov. 19
3937
3
okt. 19
7775
2
feb. 18
13941
0
jan. 18
4254