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.6 -r1.6.2.1
--- openacs-4/packages/acs-kernel/sql/oracle/acs-objects-create.sql	25 May 2002 14:18:49 -0000	1.6
+++ openacs-4/packages/acs-kernel/sql/oracle/acs-objects-create.sql	13 Feb 2003 22:30:50 -0000	1.6.2.1
@@ -507,6 +507,9 @@
   -- Delete dynamic/generic attributes
   delete from acs_attribute_values where object_id = acs_object.delete.object_id;
 
+  -- Delete directly assigned permissions
+  delete from acs_permissions where object_id = acs_object.delete.object_id;
+
   for object_type
   in (select table_name, id_column
       from acs_object_types
