portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject cvs commit: jakarta-jetspeed-2/src/sql/mysql populate-userinfo-for-default-psml.sql
Date Thu, 23 Sep 2004 19:53:51 GMT
taylor      2004/09/23 12:53:51

  Modified:    src/sql  populate-db-default.sql
                        populate-userinfo-for-default-psml.sql
               src/sql/mysql populate-userinfo-for-default-psml.sql
  Log:
  - default rule for user jetspeed is to use role fallback
  - add a single role to user jetspeed 'manager'
  next test will be to add 2 or more roles and groups
  
  CVS: ----------------------------------------------------------------------
  CVS: PR:
  CVS:   If this change addresses a PR in the problem report tracking
  CVS:   database, then enter the PR number(s) here.
  CVS: Obtained from:
  CVS:   If this change has been taken from another system, such as NCSA,
  CVS:   then name the system in this line, otherwise delete it.
  CVS: Submitted by:
  CVS:   If this code has been contributed to Apache by someone else; i.e.,
  CVS:   they sent us a patch or a new module, then include their name/email
  CVS:   address here. If this is your work then delete this line.
  CVS: Reviewed by:
  CVS:   If we are doing pre-commit code reviews and someone else has
  CVS:   reviewed your changes, include their name(s) here.
  CVS:   If you have not had it reviewed then delete this line.
  
  Revision  Changes    Path
  1.3       +4 -3      jakarta-jetspeed-2/src/sql/populate-db-default.sql
  
  Index: populate-db-default.sql
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/src/sql/populate-db-default.sql,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- populate-db-default.sql	18 Mar 2004 19:39:10 -0000	1.2
  +++ populate-db-default.sql	23 Sep 2004 19:53:50 -0000	1.3
  @@ -290,15 +290,16 @@
   insert into PROFILING_RULE values ('role-fallback', 
        'org.apache.jetspeed.profiler.rules.impl.RoleFallbackProfilingRule',
        'A role based fallback algorithm based on Jetspeed-1 role-based fallback');
  -insert into RULE_CRITERION values (6, 'role-fallback', 0, 'request.session', 'page', 'default-page',
0);
  -insert into RULE_CRITERION values (7, 'role-fallback', 1, 'role', 'role', null, 2);
  +insert into RULE_CRITERION values (6, 'role-fallback', 0, 'role', 'role', null, 2);
  +insert into RULE_CRITERION values (7, 'role-fallback', 1, 'request.session', 'page', 'default-page',
0);
   
   insert into PROFILING_RULE values ('path', 
      'org.apache.jetspeed.profiler.rules.impl.StandardProfilingRule',
      'use a path to locate.');
   insert into RULE_CRITERION values (10, 'path', 0, 'path', 'path', '/', 0);
   
  -insert into PRINCIPAL_RULE_ASSOC values ( 'anon', 'j1' );
  +insert into PRINCIPAL_RULE_ASSOC values ( 'guest', 'j1' );
  +insert into PRINCIPAL_RULE_ASSOC values ( 'jetspeed', 'role-fallback' );
   
   
   
  
  
  
  1.6       +1 -0      jakarta-jetspeed-2/src/sql/populate-userinfo-for-default-psml.sql
  
  Index: populate-userinfo-for-default-psml.sql
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/src/sql/populate-userinfo-for-default-psml.sql,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- populate-userinfo-for-default-psml.sql	23 Sep 2004 19:52:23 -0000	1.5
  +++ populate-userinfo-for-default-psml.sql	23 Sep 2004 19:53:50 -0000	1.6
  @@ -32,3 +32,4 @@
   INSERT INTO SECURITY_USER_ROLE VALUES(2,8);
   INSERT INTO SECURITY_USER_ROLE VALUES(3,8);
   INSERT INTO SECURITY_USER_ROLE VALUES(9,10);
  +INSERT INTO SECURITY_USER_ROLE VALUES(5,7);
  
  
  
  1.3       +1 -0      jakarta-jetspeed-2/src/sql/mysql/populate-userinfo-for-default-psml.sql
  
  Index: populate-userinfo-for-default-psml.sql
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/src/sql/mysql/populate-userinfo-for-default-psml.sql,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- populate-userinfo-for-default-psml.sql	20 Sep 2004 06:10:37 -0000	1.2
  +++ populate-userinfo-for-default-psml.sql	23 Sep 2004 19:53:50 -0000	1.3
  @@ -32,3 +32,4 @@
   INSERT INTO SECURITY_USER_ROLE VALUES(2,8);
   INSERT INTO SECURITY_USER_ROLE VALUES(3,8);
   INSERT INTO SECURITY_USER_ROLE VALUES(9,10);
  +INSERT INTO SECURITY_USER_ROLE VALUES(5,7);
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Mime
View raw message