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 Wed, 03 Nov 2004 19:38:05 GMT
taylor      2004/11/03 11:38:05

  Modified:    src/sql  populate-db-default.sql
  Log:
  added group fallback rule
  
  Revision  Changes    Path
  1.7       +10 -2     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.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- populate-db-default.sql	15 Oct 2004 07:06:48 -0000	1.6
  +++ populate-db-default.sql	3 Nov 2004 19:38:05 -0000	1.7
  @@ -302,11 +302,19 @@
        '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 RULE_CRITERION values (12, 'role-group', 1, 'navigation', 'navigation', '/',
2);
  +insert into RULE_CRITERION values (13, 'role-group', 2, 'group', 'group', null, 2);
  +insert into RULE_CRITERION values (14, 'role-group', 3, 'group', 'group', null, 2);
  +
  +insert into PROFILING_RULE values ('group-fallback', 
  +     'org.apache.jetspeed.profiler.rules.impl.RoleFallbackProfilingRule',
  +     'A role based fallback algorithm based on Jetspeed-1 group-based fallback');
  +insert into RULE_CRITERION values (15, 'group-fallback', 0, 'group', 'group', null, 2);
  +insert into RULE_CRITERION values (16, 'group-fallback', 1, 'request.session', 'page',
'default-page', 0);
   
   insert into PRINCIPAL_RULE_ASSOC values ( 'guest', 'page', 'j1' );
   insert into PRINCIPAL_RULE_ASSOC values ( 'jetspeed', 'page', 'role-fallback' );
   insert into PRINCIPAL_RULE_ASSOC values ( 'jetspeed', 'docset', 'role-group' );
   insert into PRINCIPAL_RULE_ASSOC values ( 'user', 'page', 'j1' );
   insert into PRINCIPAL_RULE_ASSOC values ( 'user', 'docset', 'role-group' );
  +
  
  
  

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