~openerp-dev/openobject-addons/6.1-opw-575489-rha

Viewing all changes in revision 7059.

  • Committer: Olivier Dony
  • Date: 2012-11-07 14:12:19 UTC
  • Revision ID: odo@openerp.com-20121107141219-0g9d2d5j6z4ta1ce
[FIX] project_issue: fix access rights error when using portal access

Due to the recent change in the computation of the closing duration
for project issues[1], viewing issues now fails for users who do not
have read access to project.project. This is typically the case for
portal users, who can view their own issues but not the project details.
Doing the computation in superuser mode does not cause any security
problem and avoids the access rights error.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: