Skip to Content
This question has been flagged
2 Replies
60 Views

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

Avatar
Discard
Best Answer

"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

Avatar
Discard
Author Best Answer

Thank you so much for this valuable knowledge. 

Avatar
Discard
Related Posts Replies Views Activity
0
Jun 24
157
1
Jun 24
435
0
Oct 23
866
2
Mar 23
1298
2
Dec 22
4060