Index: openacs-4/packages/acs-kernel/acs-kernel.info =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-kernel/acs-kernel.info,v diff -u -r1.6 -r1.7 --- openacs-4/packages/acs-kernel/acs-kernel.info 7 Dec 2001 22:02:08 -0000 1.6 +++ openacs-4/packages/acs-kernel/acs-kernel.info 11 Dec 2001 03:48:15 -0000 1.7 @@ -161,6 +161,7 @@ + Index: openacs-4/packages/acs-kernel/sql/oracle/acs-create-2.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-kernel/sql/oracle/acs-create-2.sql,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/acs-kernel/sql/oracle/acs-create-2.sql 11 Dec 2001 03:48:15 -0000 1.1 @@ -0,0 +1,24 @@ +-- +-- packages/acs-kernel/sql/acs-create-2.sql +-- +-- @author ben@openforce +-- @creation-date 2000-12-02 +-- @cvs-id acs-create.sql,v 1.1.2.9 2000/08/24 07:09:18 rhs Exp +-- + +-- +-- This code sets up additional root concepts, involving the +-- privacy control of personal information. For now, this sets +-- up an extremely simple concept of read_private_data that is NOT +-- derived from read, but rather from admin. +-- + +declare +begin + acs_privilege.create_privilege('read_private_data'); + acs_privilege.add_child('admin','read_private_data'); +end; +/ +show errors + + Index: openacs-4/packages/acs-kernel/sql/oracle/acs-kernel-create.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-kernel/sql/oracle/acs-kernel-create.sql,v diff -u -r1.2 -r1.3 --- openacs-4/packages/acs-kernel/sql/oracle/acs-kernel-create.sql 30 Jul 2001 03:42:35 -0000 1.2 +++ openacs-4/packages/acs-kernel/sql/oracle/acs-kernel-create.sql 11 Dec 2001 03:48:15 -0000 1.3 @@ -30,4 +30,7 @@ @@ apm-create @@ acs-create +-- added by Ben for OpenACS +@@ acs-create-2 + set feedback on Index: openacs-4/packages/acs-kernel/sql/postgresql/acs-create-2.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-kernel/sql/postgresql/acs-create-2.sql,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/acs-kernel/sql/postgresql/acs-create-2.sql 11 Dec 2001 03:48:15 -0000 1.1 @@ -0,0 +1,19 @@ +-- +-- packages/acs-kernel/sql/acs-create-2.sql +-- +-- @author ben@openforce +-- @creation-date 2000-12-02 +-- @cvs-id acs-create.sql,v 1.1.2.9 2000/08/24 07:09:18 rhs Exp +-- + +-- +-- This code sets up additional root concepts, involving the +-- privacy control of personal information. For now, this sets +-- up an extremely simple concept of read_private_data that is NOT +-- derived from read, but rather from admin. +-- + +select acs_privilege__create_privilege('read_private_data'); +select acs_privilege__add_child('admin','read_private_data'); + + Index: openacs-4/packages/acs-kernel/sql/postgresql/acs-kernel-create.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-kernel/sql/postgresql/acs-kernel-create.sql,v diff -u -r1.4 -r1.5 --- openacs-4/packages/acs-kernel/sql/postgresql/acs-kernel-create.sql 30 Jul 2001 03:42:35 -0000 1.4 +++ openacs-4/packages/acs-kernel/sql/postgresql/acs-kernel-create.sql 11 Dec 2001 03:48:15 -0000 1.5 @@ -31,6 +31,8 @@ \i site-nodes-create.sql \i apm-create.sql \i acs-create.sql + +\i acs-create-2.sql -- -- set feedback on