Index: openacs-4/packages/acs-subsite/lib/applications.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-subsite/lib/applications.tcl,v diff -u -r1.5 -r1.6 --- openacs-4/packages/acs-subsite/lib/applications.tcl 30 Dec 2003 22:10:23 -0000 1.5 +++ openacs-4/packages/acs-subsite/lib/applications.tcl 25 Jul 2008 15:02:56 -0000 1.6 @@ -1,4 +1,4 @@ -set admin_p [permission::permission_p -object_id [ad_conn package_id] -privilege admin -party_id [ad_conn untrusted_user_id]] +set admin_p [permission::permission_p -object_id [ad_conn subsite_id] -privilege admin -party_id [ad_conn untrusted_user_id]] set actions [list] if { $admin_p } { Index: openacs-4/packages/acs-subsite/lib/services.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-subsite/lib/Attic/services.tcl,v diff -u -r1.4 -r1.5 --- openacs-4/packages/acs-subsite/lib/services.tcl 10 Jan 2007 21:22:05 -0000 1.4 +++ openacs-4/packages/acs-subsite/lib/services.tcl 25 Jul 2008 15:02:56 -0000 1.5 @@ -1,4 +1,4 @@ -set admin_p [permission::permission_p -object_id [ad_conn package_id] -privilege admin -party_id [ad_conn untrusted_user_id]] +set admin_p [permission::permission_p -object_id [ad_conn subsite_id] -privilege admin -party_id [ad_conn untrusted_user_id]] list::create \ -name services \ Index: openacs-4/packages/acs-subsite/lib/subsites.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-subsite/lib/subsites.tcl,v diff -u -r1.14 -r1.15 --- openacs-4/packages/acs-subsite/lib/subsites.tcl 7 Mar 2005 21:02:15 -0000 1.14 +++ openacs-4/packages/acs-subsite/lib/subsites.tcl 25 Jul 2008 15:02:56 -0000 1.15 @@ -3,7 +3,7 @@ set pretty_name [_ acs-subsite.subsite] set pretty_plural [_ acs-subsite.subsites] -set admin_p [permission::permission_p -object_id [ad_conn package_id] -privilege admin -party_id [ad_conn untrusted_user_id]] +set admin_p [permission::permission_p -object_id [ad_conn subsite_id] -privilege admin -party_id [ad_conn untrusted_user_id]] set actions {} if {[info exists admin_p]