Index: openacs-4/packages/acs-tcl/tcl/acs-kernel-procs.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/Attic/acs-kernel-procs.xql,v diff -u -r1.4 -r1.4.24.1 --- openacs-4/packages/acs-tcl/tcl/acs-kernel-procs.xql 17 May 2003 10:04:18 -0000 1.4 +++ openacs-4/packages/acs-tcl/tcl/acs-kernel-procs.xql 1 Jul 2016 13:32:40 -0000 1.4.24.1 @@ -7,7 +7,7 @@ select 1 as admin_exists_p from dual where exists (select 1 - from all_object_party_privilege_map m, users u, acs_magic_objects amo + from acs_object_party_privilege_map m, users u, acs_magic_objects amo where m.object_id = amo.object_id and amo.name = 'security_context_root' and m.party_id = u.user_id