[Zope-Checkins] CVS: Zope2 - editLocalRoles.dtml:1.4
Brian Lloyd
brian@digicool.com
Wed, 30 May 2001 10:50:25 -0400 (EDT)
Update of /cvs-repository/Zope2/lib/python/AccessControl/dtml
In directory korak.digicool.com:/home/brian/temp/mainline/lib/python/AccessControl/dtml
Modified Files:
editLocalRoles.dtml
Log Message:
Changed the "edit local roles" screen to filter out the new inherent
'Authenticated' role from the list of local roles that can be given
to the selected user.
--- Updated File editLocalRoles.dtml in package Zope2 --
--- editLocalRoles.dtml 2001/02/08 19:31:39 1.3
+++ editLocalRoles.dtml 2001/05/30 14:50:24 1.4
@@ -33,7 +33,7 @@
<dtml-with "_(user_roles=get_local_roles_for_userid(userid))">
<select name="roles:list" size="5" multiple>
<dtml-in valid_roles><dtml-if
-"_vars['sequence-item'] not in ('Anonymous', 'Shared')">
+"_vars['sequence-item'] not in ('Anonymous', 'Shared', 'Authenticated')">
<option value="<dtml-var sequence-item html_quote>"<dtml-if
"_['sequence-item'] in user_roles"> selected</dtml-if>><dtml-var
sequence-item>