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

When i have a user assigned to an employee, I get the following error message when I click on  the my profile button.

The requested operation can not be completed due to security restrictions.

 Document type: Users (res.users) 

Operation: read User: 85 

Fields: - address_home_id (allowed for groups 'Employees / Officer') - barcode (allowed for groups 'Employees / Officer') - birthday (allowed for groups 'Employees / Officer') - certificate (allowed for groups 'Employees / Officer') - children (allowed for groups 'Employees / Officer') - country_of_birth (allowed for groups 'Employees / Officer') - emergency_contact (allowed for groups 'Employees / Officer') ...


If  the  User  has  no  employee and  the  same   access rights he  can  access  the my  profile  view. I do not want to give the user the role of Employee/Officer. Which rights does the user need to open the view?

The user already has all rights for res.users.


(*) If i duplicate the role Employee/Officer and assign this group to the Test User, he can`t access the view.  It is possible only with the original Employee/Officer group.

อวตาร
ละทิ้ง

I have the same problem now, could you solve this?

Thanks in advance!

คำตอบที่ดีที่สุด

Did you find a solution? I have the same problem and I can't resolve it

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Try creating a rule for Employee group with following values

Model:res.users

Access Rights: Apply for Read

Domain Filter: [('user_id', '=', user.id)]

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Try to give the user access to "Access to Private Addresses" from user form.

อวตาร
ละทิ้ง
ผู้เขียน

Thank you for the answer. Unfortunately, I have already tested this without success.

Related Posts ตอบกลับ มุมมอง กิจกรรม
2
ก.ค. 23
5586
1
มี.ค. 21
5569
Sales Managers over Sales Users แก้ไขแล้ว
2
พ.ค. 19
5580
4
มี.ค. 15
12489
2
มี.ค. 15
7174