Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
6909 Widoki

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 ?  


Awatar
Odrzuć
Autor

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

Najlepsza odpowiedź

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.

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
4
kwi 20
9026
1
lis 19
3935
3
paź 19
7770
2
lut 18
13935
0
sty 18
4254