Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
1557 Visualizzazioni

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
Abbandona
Risposta migliore

"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
Abbandona
Autore Risposta migliore

Thank you so much for this valuable knowledge. 

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
apr 25
1694
1
mar 25
1201
0
nov 24
1432
0
giu 24
1490
1
giu 24
1983