partner permission in portal

Bug #1086793 reported by Sumeet Agrawal
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Incomplete
Undecided
Unassigned

Bug Description

Following error is displayed, when logging into Portal using a Customer portal Login Id:

Access Denied

The requested operation cannot be completed due to security restrictions. Please contact your system administrator.

(Document type: Partner, Operation: read)

Access Denied

Sorry, you are not allowed to access this document. Only users with the following access level are currently allowed to do that:
- Human Resources/Employee
- Administration/Configuration

(Document model: mail.alias)

Revision history for this message
Amit Parik (amit-parik) wrote :

hello Summet,

Would you please provide a precious steps to reproduce it, because I am not faced the error at my end.

So please give me proper steps to reproduce it.

Thank you!

Changed in openobject-addons:
status: New → Incomplete
Revision history for this message
Christophe Douillard (cdouillard) wrote :

We have the same issue.
It actually occurs when the "customer" or any partner with "Portal" rights opens a document like Quotes, Ordes or Invoices.
The messages goes away when you clic on the OK button and you have acces to the document.

I have tried to change the access rights to the "Partner" object for the Group "Portal" but no chance.

My guess is that it comes from the access/filter rule for the "Portal" group:
Rule "res_partner: read access on my partner" with rule definition [('user_ids', 'in', user.id)]

Thanks

Revision history for this message
Christophe Douillard (cdouillard) wrote :

Here is a screen shot of the error message

Revision history for this message
Christophe Douillard (cdouillard) wrote :

Last update:
the error message goes away when the "res_partner: read access on my partner" rule is deactivated

Revision history for this message
martin (riess82) wrote :

I believe that the duplicate status is wrong. I can say that the error mentioned here is not fixed for me. I checked the code suggested in bug #1094212, I have no if anymore in the function. I even tried the bugfix module. The error is still there.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.