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.3 -r1.4 --- openacs-4/packages/acs-subsite/www/permissions/perm-include-oracle.xql 29 Apr 2004 15:28:25 -0000 1.3 +++ openacs-4/packages/acs-subsite/www/permissions/perm-include-oracle.xql 24 Feb 2005 13:33:01 -0000 1.4 @@ -59,7 +59,10 @@ ) ptab, acs_objects o where o.object_id = ptab.grantee_id - and not exists (select 1 from acs_object_party_privilege_map p where p.object_id = 0 and p.party_id = ptab.grantee_id and p.privilege = 'admin') + and not exists (select 1 from acs_object_party_privilege_map p + where p.object_id = (select object_id from acs_magic_objects where name = 'security_context_root') + and p.party_id = ptab.grantee_id + and p.privilege = 'admin') group by ptab.grantee_id, acs_object.name(ptab.grantee_id), o.object_type order by object_type desc, grantee_name