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 populate-db-default.sql
Date Thu, 23 Sep 2004 22:46:46 GMT
taylor      2004/09/23 15:46:46

  Modified:    src/sql  populate-db-default.sql
  Log:
  new rule for role + group fallback
  
  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.4       +7 -0      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.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- populate-db-default.sql	23 Sep 2004 19:53:50 -0000	1.3
  +++ populate-db-default.sql	23 Sep 2004 22:46:45 -0000	1.4
  @@ -298,6 +298,13 @@
      'use a path to locate.');
   insert into RULE_CRITERION values (10, 'path', 0, 'path', 'path', '/', 0);
   
  +insert into PROFILING_RULE values ('role-group', 
  +     'org.apache.jetspeed.profiler.rules.impl.RoleFallbackProfilingRule',
  +     'A role based fallback algorithm that searches all groups and roles for a user');
  +insert into RULE_CRITERION values (11, 'role-group', 0, 'role', 'role', null, 2);
  +insert into RULE_CRITERION values (12, 'role-group', 1, 'group', 'group', null, 2);
  +insert into RULE_CRITERION values (13, 'role-group', 1, 'request.session', 'page', 'default-page',
0);
  +
   insert into PRINCIPAL_RULE_ASSOC values ( 'guest', 'j1' );
   insert into PRINCIPAL_RULE_ASSOC values ( 'jetspeed', 'role-fallback' );
   
  
  
  

---------------------------------------------------------------------
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