Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
1553 Переглядів

Hello Odoo experts, recently I was working around with the security groups for my module and I found the code write like: 

What are the use of the this specific line of code. I aslo can't find the definition of "base.user_root" and "base.user_admin" anywhere. Please help me out. Thanks

Аватар
Відмінити
Найкраща відповідь

"base.user_root" is a superuser (ID 1) which bypasses any security rules.
"base.user_admin" has admin priviledges, but still obeys to some security rules. 

Root user, should only be used on critical situations, or maintenance tasks.
For all other platform management tasks, which cannot be performed by any other user type, admin priviledges are enough

Аватар
Відмінити
Автор Найкраща відповідь

Thank you so much for this valuable knowledge. 

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
1
квіт. 25
1690
1
бер. 25
1200
0
лист. 24
1432
0
черв. 24
1490
1
черв. 24
1983