Index: openacs-4/packages/acs-content-repository/sql/oracle/content-folder.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/sql/oracle/content-folder.sql,v
diff -u -r1.8.2.6 -r1.8.2.7
--- openacs-4/packages/acs-content-repository/sql/oracle/content-folder.sql	24 Aug 2004 23:28:39 -0000	1.8.2.6
+++ openacs-4/packages/acs-content-repository/sql/oracle/content-folder.sql	31 Jan 2005 07:29:16 -0000	1.8.2.7
@@ -22,7 +22,9 @@
   folder_id	in cr_folders.folder_id%TYPE default null,
   creation_date	in acs_objects.creation_date%TYPE default sysdate,
   creation_user	in acs_objects.creation_user%TYPE default null,
-  creation_ip	in acs_objects.creation_ip%TYPE default null
+  creation_ip	in acs_objects.creation_ip%TYPE default null,
+  security_inherit_p in acs_objects.security_inherit_p%TYPE default 't',
+  package_id	in cr_folders.package_id%TYPE default null
 ) return cr_folders.folder_id%TYPE is
   v_folder_id	cr_folders.folder_id%TYPE;
   v_context_id	acs_objects.context_id%TYPE;
@@ -52,13 +54,14 @@
         creation_date => creation_date, 
         creation_user => creation_user, 
         creation_ip   => creation_ip, 
-        parent_id     => parent_id 
+        parent_id     => parent_id,
+	security_inherit_p => security_inherit_p
     );
 
     insert into cr_folders (
-      folder_id, label, description
+      folder_id, label, description, package_id
     ) values (
-      v_folder_id, label, description
+      v_folder_id, label, description, package_id
     );
 
     -- inherit the attributes of the parent folder
