Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
1 Svar
6872 Visninger

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
Kassér
Forfatter

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

Bedste svar

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
Kassér
Related Posts Besvarelser Visninger Aktivitet
4
apr. 20
9015
1
nov. 19
3924
3
okt. 19
7738
2
feb. 18
13883
0
jan. 18
4236