Index: openacs-4/packages/acs-subsite/www/permissions/perm-include-oracle.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-subsite/www/permissions/perm-include-oracle.xql,v diff -u -r1.2.4.2 -r1.2.4.3 --- openacs-4/packages/acs-subsite/www/permissions/perm-include-oracle.xql 12 Jan 2005 01:49:38 -0000 1.2.4.2 +++ openacs-4/packages/acs-subsite/www/permissions/perm-include-oracle.xql 12 Jan 2005 02:14:11 -0000 1.2.4.3 @@ -61,10 +61,10 @@ where o.object_id = ptab.grantee_id and not exists (select 1 from acs_object_party_privilege_map m, - (select security_context_root + (select object_id as root from acs_magic_objects where name = 'security_context_root') amo - where m.object_id = amo.security_context_root + where m.object_id = amo.root and m.party_id = ptab.grantee_id and m.privilege = 'admin') group by ptab.grantee_id, acs_object.name(ptab.grantee_id), o.object_type