[trunk/7.0] Access rights not correctly taken into account for reports

Bug #1187734 reported by Antoine(OpenERP)
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Committed
Medium
OpenERP R&D Addons Team 3

Bug Description

Go on a runbot DB all

1. Select the "Invoices" report in Settings > Technical > Action > Reports
2. Modify the security on the second tab by adding "Fleet / User" in the security (That's stupid but it's for the sake of the demo)
3. Change the access rights of the demo user so that he has accounting manager rights, but not fleet / user rights
4. Connect with demo user
5. Go on an invoice that's validated. That's ok for the "print top" button: the report dissapeared. but:
6. You'll see the print button in the status bar is still available and usable while Demo user shouldn't have access to it.
7. Moreover, if you use the invoice report and that this report created an attachment, the attachment would be downloadable (less important here but still wrong)

Revision history for this message
Antoine(OpenERP) (ahu-openerp) wrote :
summary: - [7.0] Access right report
+ [7.0] Access rights not correctly taken into account for reports
Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
importance: Undecided → Medium
status: New → Confirmed
summary: - [7.0] Access rights not correctly taken into account for reports
+ [trunk/7.0] Access rights not correctly taken into account for reports
summary: - [trunk/7.0] Access rights not correctly taken into account for reports
+ [7.0] Access rights not correctly taken into account for reports
summary: - [7.0] Access rights not correctly taken into account for reports
+ [trunk/7.0] Access rights not correctly taken into account for reports
Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Chirag Dodiya(OpenERP) (chirag.dodiya-openerp) wrote :

Hello,

It has been Fixed in this branch: https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1187734-cod

revision-id: <email address hidden>

revno: 9032.

It will be available in trunk soon.

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