Index: openacs-4/contrib/packages/project-manager/www/task-revisions-postgresql.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/project-manager/www/Attic/task-revisions-postgresql.xql,v diff -u -r1.1.2.4 -r1.1.2.5 --- openacs-4/contrib/packages/project-manager/www/task-revisions-postgresql.xql 30 Apr 2005 06:53:09 -0000 1.1.2.4 +++ openacs-4/contrib/packages/project-manager/www/task-revisions-postgresql.xql 4 May 2005 06:13:53 -0000 1.1.2.5 @@ -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