Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
6910 Vizualizări

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 ?  


Imagine profil
Abandonează
Autor

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

Cel mai bun răspuns

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.

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
4
apr. 20
9026
1
nov. 19
3935
3
oct. 19
7770
2
feb. 18
13935
0
ian. 18
4254