跳至內容
選單
此問題已被標幟
2 回覆
1656 瀏覽次數

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. 

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
4月 25
1803
1
3月 25
1284
0
11月 24
1479
0
6月 24
1549
1
6月 24
2057