1
<html metal:use-macro="context/@@standard_macros/page"
4
<style metal:fill-slot="headers" type="text/css">
7
background-color: #ffffff;
12
background-color: #efefef;
19
<div metal:fill-slot="body">
21
<p tal:define="status view/update"
22
tal:condition="status"
23
tal:content="status" />
25
<p class="form-help" i18n:translate="">
30
python:view.permissionForID(request.get('permission_to_manage'))">
32
<p class="form-text" i18n:translate="">
33
Roles assigned to the permission
34
<strong tal:content="perm/title"
35
i18n:name="perm_title" i18n:translate="">Change DTML Methods</strong>
36
(id: <strong tal:content="perm/id"
37
i18n:name="perm_id">Zope.Some.Permission</strong>)
40
<form action="AllRolePermissions.html" method="post">
42
<input type="hidden" name="permission_id" value="Permission Name"
43
tal:attributes="value perm/id" />
45
<div class="form-element">
47
<table width="100%" cellspacing="0" cellpadding="2" border="0"
50
<tr class="list-header">
51
<td align="left" valign="top">
52
<div class="form-label">
53
<strong i18n:translate="">Role</strong>
57
<div class="form-label">
58
<strong i18n:translate="">Setting</strong>
63
<tr class="row-normal"
64
tal:repeat="setting perm/roleSettings"
66
python:path('repeat/setting/even') and 'row-normal' or 'row-hilite'">
67
<td align="left" valign="top"
68
tal:define="ir repeat/setting/index"
69
tal:content="python:path('view/roles')[ir].id">
73
<select name="settings:list">
75
tal:repeat="option view/availableSettings"
76
tal:attributes="value option/id;
77
selected python:setting == option['id']"
78
tal:content="option/shorttitle"
79
i18n:translate="">+</option>
87
<div class="form-element">
88
<input class="form-element" type="submit" name="SUBMIT_PERMS"
89
value="Save Changes" i18n:attributes="value save-changes-button"/>