Index: openacs-4/packages/acs-subsite/www/permissions/one-postgresql.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-subsite/www/permissions/one-postgresql.xql,v diff -u -r1.4.4.1 -r1.4.4.2 --- openacs-4/packages/acs-subsite/www/permissions/one-postgresql.xql 7 Dec 2002 16:06:29 -0000 1.4.4.1 +++ openacs-4/packages/acs-subsite/www/permissions/one-postgresql.xql 8 Dec 2002 14:59:14 -0000 1.4.4.2 @@ -60,9 +60,9 @@ from acs_objects o where context_id = :object_id and exists (select 1 - from acs_object_party_privilege_map + from acs_permissions_all where object_id = o.object_id - and party_id = :user_id + and grantee_id = :user_id and privilege = 'admin')