Index: openacs-4/packages/acs-subsite/www/index-postgresql.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-subsite/www/Attic/index-postgresql.xql,v diff -u -r1.4 -r1.5 --- openacs-4/packages/acs-subsite/www/index-postgresql.xql 16 Jan 2003 13:38:49 -0000 1.4 +++ openacs-4/packages/acs-subsite/www/index-postgresql.xql 17 May 2003 09:58:56 -0000 1.5 @@ -14,11 +14,12 @@ - + select site_node__url(n.node_id) as url, acs_object__name(n.object_id) as name from site_nodes n where n.parent_id = :node_id and n.object_id is not null + and acs_permission__permission_p(n.object_id, :user_id, 'read') = 't' order by name