Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
2 Antwoorden
1605 Weergaven

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
Annuleer
Beste antwoord

"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
Annuleer
Auteur Beste antwoord

Thank you so much for this valuable knowledge. 

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
1
apr. 25
1718
1
mrt. 25
1218
0
nov. 24
1443
0
jun. 24
1520
1
jun. 24
1995