Index: openacs-4/packages/acs-kernel/sql/oracle/acs-install.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-kernel/sql/oracle/acs-install.sql,v diff -u -r1.8 -r1.9 --- openacs-4/packages/acs-kernel/sql/oracle/acs-install.sql 11 Jan 2003 11:02:56 -0000 1.8 +++ openacs-4/packages/acs-kernel/sql/oracle/acs-install.sql 30 Jan 2003 14:10:30 -0000 1.9 @@ -49,99 +49,6 @@ privilege => 'read' ); - lang_id := apm_service.new ( - instance_name => 'OpenACS Localization Utils', - package_key => 'acs-lang', - context_id => main_site_id - ); - apm_package.enable(lang_id); - - -- All users, whether registered or not, set their locale preference at /acs-lang - acs_permission.grant_permission ( - object_id => lang_id, - grantee_id => acs.magic_object_id ('the_public'), - privilege => 'read' - ); - - node_id := site_node.new ( - parent_id => site_node.node_id('/'), - name => 'acs-lang', - directory_p => 't', - pattern_p => 't', - object_id => lang_id - ); - - admin_id := apm_service.new ( - instance_name => 'ACS Administration', - package_key => 'acs-admin' - ); - apm_package.enable(admin_id); - - node_id := site_node.new ( - parent_id => site_node.node_id('/'), - name => 'acs-admin', - directory_p => 't', - pattern_p => 't', - object_id => admin_id - ); - - - cr_id := apm_service.new ( - instance_name => 'ACS Content Repository', - package_key => 'acs-content-repository' - ); - - node_id := site_node.new ( - parent_id => site_node.node_id('/'), - name => 'acs-content-repository', - directory_p => 't', - pattern_p => 't', - object_id => cr_id - ); - - docs_id := apm_service.new ( - instance_name => 'ACS Core Documents', - package_key => 'acs-core-docs', - context_id => main_site_id - ); - - docs_id := site_node.new ( - parent_id => site_node.node_id('/'), - name => 'doc', - directory_p => 't', - pattern_p => 't', - object_id => docs_id - ); - - api_doc_id := apm_service.new ( - instance_name => 'ACS API Browser', - package_key => 'acs-api-browser', - context_id => main_site_id - ); - - apm_package.enable(api_doc_id); - - -- Set default permissions for ACS API Browser so - -- that only users logged in can view it - - update acs_objects - set security_inherit_p = 'f' - where object_id = api_doc_id; - - acs_permission.grant_permission ( - object_id => api_doc_id, - grantee_id => acs.magic_object_id ('registered_users'), - privilege => 'read' - ); - - api_doc_id := site_node.new ( - parent_id => site_node.node_id('/'), - name => 'api-doc', - directory_p => 't', - pattern_p => 't', - object_id => api_doc_id - ); - select user into schema_user from dual; dbms_job.submit (