[6.0][project] if user is both a project manager and a user, he can't see the project he participates

Bug #652152 reported by Raphaël Valyi - http://www.akretion.com
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Medium
Olivier Dony (Odoo)

Bug Description

Hello,

using last v6 addons with demo data and project module.

Log as user "Phuong" phu/phu.
Go to menu Project/Project
no matter you click on the "member" button, you can't see the "Integrate an Sale and Warehouse Management." project where Phuong is a member.

The reason is that Phuong is also a "project manager", this define an access rule with the following domain: [('user_id','=',user.id)]

Adding Phuong to the project user group doesn't fix the issue.

No immediate idea how you could fix this but in production this is common and annoying.

Revision history for this message
Raphaël Valyi - http://www.akretion.com (rvalyi) wrote :

Hello, just to confirm that on rev #4339 the issue is still here

Revision history for this message
Olivier Dony (Odoo) (odo-openerp) wrote :

The issue is basically that the ir.rule for project manager is incorrect because it prevents access to projects you are simply a member of.
We need to correct that indeed, thanks for reporting it!
(Project User itself does not have any rule and there is no conflict between rules)

Changed in openobject-addons:
assignee: nobody → Olivier Dony (OpenERP) (odo)
status: New → In Progress
Revision history for this message
Olivier Dony (Odoo) (odo-openerp) wrote :

This was fixed in RC1, thanks for reporting!

Changed in openobject-addons:
status: In Progress → Fix Released
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.