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/webapp/WEB-INF/conf security.xreg
Date Wed, 01 Dec 2004 18:28:06 GMT
taylor      2004/12/01 10:28:06

  Modified:    webapp/WEB-INF/conf security.xreg
  Log:
  example security constraint with view, min, max to owner
  
  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.8       +18 -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.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- security.xreg	1 Jun 2004 22:03:21 -0000	1.7
  +++ security.xreg	1 Dec 2004 18:28:06 -0000	1.8
  @@ -90,4 +90,22 @@
                <allow-if user="anon"/>
            </access>
        </security-entry>    
  +    <security-entry name="special">
  +        <meta-info>
  +            <title>Special for Owner</title>
  +            <description>Full access to the admin, view, min,max to the owner.</description>
  +        </meta-info>
  +        <access action="view">
  +            <allow-if-owner/>
  +        </access>
  +        <access action="maximize">
  +            <allow-if-owner/>
  +        </access>
  +        <access action="minimize">
  +            <allow-if-owner/>
  +        </access>
  +        <access action="*">
  +            <allow-if role="admin"/>
  +        </access>
  +    </security-entry>     
   </registry>
  
  
  

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