Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
6929 Представления

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.

Аватар
Отменить
Related Posts Ответы Просмотры Активность
4
апр. 20
9041
1
нояб. 19
3942
3
окт. 19
7788
2
февр. 18
13959
0
янв. 18
4257