Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
1575 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

"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

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

Thank you so much for this valuable knowledge. 

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 4 25
1717
1
thg 3 25
1212
0
thg 11 24
1437
0
thg 6 24
1511
1
thg 6 24
1988