Index: openacs-4/packages/project-manager/www/task-revisions-postgresql.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/project-manager/www/task-revisions-postgresql.xql,v diff -u -r1.2 -r1.3 --- openacs-4/packages/project-manager/www/task-revisions-postgresql.xql 30 Apr 2005 06:59:34 -0000 1.2 +++ openacs-4/packages/project-manager/www/task-revisions-postgresql.xql 26 May 2005 09:34:29 -0000 1.3 @@ -33,6 +33,10 @@ t.item_id = :task_id and t.item_id = i.item_id and t.creation_user = p.person_id + and exists (select 1 from acs_object_party_privilege_map ppm + where ppm.object_id = t.item_id + and ppm.privilege = 'read' + and ppm.party_id = :user_id) ORDER BY t.revision_id asc