You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by ta...@apache.org on 2004/06/02 00:03:21 UTC

cvs commit: jakarta-jetspeed/webapp/WEB-INF/conf security.xreg

taylor      2004/06/01 15:03:21

  Modified:    webapp/WEB-INF/conf security.xreg
  Log:
  added admin_and_owner_only security constraint
  patch from Bob Fleischman
  
  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.7       +12 -0     jakarta-jetspeed/webapp/WEB-INF/conf/security.xreg
  
  Index: security.xreg
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/webapp/WEB-INF/conf/security.xreg,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- security.xreg	17 Mar 2004 19:10:26 -0000	1.6
  +++ security.xreg	1 Jun 2004 22:03:21 -0000	1.7
  @@ -42,6 +42,18 @@
               <allow-if-owner/>
           </access>
       </security-entry>
  +    <security-entry name="admin_and_owner_only">
  +        <meta-info>
  +            <title>Admin_and_Owner_Only</title>
  +            <description>Full access to the owner and admin.</description>
  +        </meta-info>
  +        <access action="*">
  +            <allow-if-owner/>
  +        </access>
  +        <access action="*">
  +            <allow-if role="admin"/>
  +        </access>
  +    </security-entry>
       <security-entry name="default">
           <meta-info>
               <title>Default</title>
  
  
  

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