Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
6953 Visualizzazioni

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
Abbandona
Autore

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

Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
4
apr 20
9064
1
nov 19
3951
3
ott 19
7798
2
feb 18
13988
0
gen 18
4264