Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
1637 มุมมอง

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
1775
1
มี.ค. 25
1256
0
พ.ย. 24
1462
0
มิ.ย. 24
1540
1
มิ.ย. 24
2025