Skip to content

Commit

Permalink
- exclude certain roles
Browse files Browse the repository at this point in the history
  • Loading branch information
dataflake committed May 23, 2019
1 parent d7be664 commit 57da264
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions src/OFS/dtml/listLocalRoles.dtml
Original file line number Diff line number Diff line change
Expand Up @@ -87,14 +87,17 @@
<td>
<table class="table table-striped table-hover table-sm">
<dtml-in valid_roles>
<tr>
<td class="zmi-object-check text-right">
<input type="checkbox" name="roles:list"
id="&dtml-sequence-item;"
value="&dtml-sequence-item;"/>
</td>
<td>&dtml-sequence-item;</td>
</tr>
<dtml-if "_['sequence-item'] not in ('Anonymous', 'Shared',
'Authenticated')">
<tr>
<td class="zmi-object-check text-right">
<input type="checkbox" name="roles:list"
id="&dtml-sequence-item;"
value="&dtml-sequence-item;"/>
</td>
<td>&dtml-sequence-item;</td>
</tr>
</dtml-if>
</dtml-in>
</table>
</td>
Expand Down

0 comments on commit 57da264

Please sign in to comment.