콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
6646 화면

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 ?  


아바타
취소
작성자

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

베스트 답변

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.

아바타
취소
관련 게시물 답글 화면 활동
4
4월 20
8657
1
11월 19
3675
3
10월 19
7417
2
2월 18
13529
0
1월 18
4119