[Zope-Checkins] CVS: Zope2 - addUser.dtml:1.3

chrism@serenade.digicool.com chrism@serenade.digicool.com
Mon, 21 May 2001 13:58:21 -0400


Update of /cvs-repository/Zope2/lib/python/AccessControl/dtml
In directory serenade:/home/chrism/sandboxes/PostRegexTrunk/lib/python/AccessControl/dtml

Modified Files:
	addUser.dtml 
Log Message:
Add 'Authenticated' role as a standard Zope role.  The Authenticated role is provided to those users who have succesfully authenticated to Zope in any manner (basically, all users who are not the Anonymous User) by default.



--- Updated File addUser.dtml in package Zope2 --
--- addUser.dtml	2001/01/08 22:46:56	1.2
+++ addUser.dtml	2001/05/21 17:58:21	1.3
@@ -73,10 +73,12 @@
   <div class="form-element">
   <select name="roles:list" size="5" multiple>
   <dtml-in valid_roles>
+  <dtml-if expr="_vars['sequence-item'] != 'Authenticated'">
   <dtml-if expr="_vars['sequence-item'] != 'Anonymous'">
   <dtml-if expr="_vars['sequence-item'] != 'Shared'">
   <option value="<dtml-var sequence-item html_quote>"><dtml-var 
    sequence-item>
+  </dtml-if>
   </dtml-if>
   </dtml-if>
   </dtml-in valid_roles>