Update of /cvsroot/openinteract/OpenInteract2/pkg/base_user/data
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30168/pkg/base_user/data
Modified Files:
install_security.dat
Log Message:
OIN-138: allow use of '.csv' files when defining installation data (security settings, initial data, etc.); use base_user as example
Index: install_security.dat
===================================================================
RCS file: /cvsroot/openinteract/OpenInteract2/pkg/base_user/data/install_security.dat,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** install_security.dat 27 May 2004 01:16:30 -0000 1.4
--- install_security.dat 2 Apr 2005 23:42:21 -0000 1.5
***************
*** 1,11 ****
! $security = [
! { import_type => 'object',
! spops_class => 'OpenInteract2::Security',
! field_order => [ qw/ class object_id scope scope_id security_level / ],
! transform_default => [ 'object_id', 'scope_id' ] },
! [ 'OpenInteract2::Action::User', '0', 'w', 'world', 4 ],
! [ 'OpenInteract2::Action::User', '0', 'g', 'public_group', 8 ],
! [ 'OpenInteract2::Action::User', '0', 'g', 'site_admin_group', 8 ],
! [ 'OpenInteract2::User', 'superuser', 'u', 'superuser', 8 ],
! [ 'OpenInteract2::User', 'superuser', 'w', 'world', 4 ],
! ];
--- 1,8 ----
! import_type = object; spops_class = OpenInteract2::Security; transform_default = object_id, scope_id;
! class | object_id | scope | scope_id | security_level
! OpenInteract2::Action::User | 0 | w | world | 4
! OpenInteract2::Action::User | 0 | g | public_group | 8
! OpenInteract2::Action::User | 0 | g | site_admin_group | 8
! OpenInteract2::User | superuser | u | superuser | 8
! OpenInteract2::User | superuser | w | world | 4
!
|