Index: openacs-4/packages/acs-kernel/sql/oracle/acs-objects-create.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-kernel/sql/oracle/acs-objects-create.sql,v
diff -u -r1.12 -r1.13
--- openacs-4/packages/acs-kernel/sql/oracle/acs-objects-create.sql	11 Dec 2003 21:39:51 -0000	1.12
+++ openacs-4/packages/acs-kernel/sql/oracle/acs-objects-create.sql	6 Jan 2004 15:54:28 -0000	1.13
@@ -536,7 +536,7 @@
   -- sourced. We need to clean up the creates and once that is done
   -- we can turn this into a simple delete statement.
   --
-  execute immediate 'delete from acs_permissions where object_id = :object_id'
+  execute immediate 'delete from acs_permissions where object_id = :object_id or grantee_id = :object_id'
   using in object_id;
 
   for object_type
