comparison templates/classic/html/msg.index.html @ 3117:460eb0209a9e

Permissions improvements. - have Permissions only test the check function if itemid is suppled - modify index templates to check for row-level Permission - more documentation of security mechanisms - better unit tests for security mechanisms
author Richard Jones <richard@users.sourceforge.net>
date Fri, 28 Jan 2005 03:51:19 +0000
parents 97f810f39d16
children a2889d22db4a
comparison
equal deleted inserted replaced
3115:ece73371713c 3117:460eb0209a9e
6 i18n:translate="">Message listing</span> 6 i18n:translate="">Message listing</span>
7 <td class="content" metal:fill-slot="content"> 7 <td class="content" metal:fill-slot="content">
8 <table class="messages" tal:condition="request/filter"> 8 <table class="messages" tal:condition="request/filter">
9 <tr><th colspan=2 class="header" i18n:translate="">Messages</th></tr> 9 <tr><th colspan=2 class="header" i18n:translate="">Messages</th></tr>
10 <tal:block tal:repeat="msg context/list"> 10 <tal:block tal:repeat="msg context/list">
11 <tal:block tal:condition="msg/is_view_ok">
11 <tr> 12 <tr>
12 <th tal:content="string:Author: ${msg/author}">author</th> 13 <th tal:content="string:Author: ${msg/author}">author</th>
13 <th tal:content="string:Date: ${msg/date}">date</th> 14 <th tal:content="string:Date: ${msg/date}">date</th>
14 </tr> 15 </tr>
15 <tr> 16 <tr>
16 <td colspan="2"><pre tal:content="msg/content">content</pre></td> 17 <td colspan="2"><pre tal:content="msg/content">content</pre></td>
17 </tr> 18 </tr>
18 </tal:block> 19 </tal:block>
20 </tal:block>
19 </table> 21 </table>
20 </td> 22 </td>
21 23
22 </tal:block> 24 </tal:block>

Roundup Issue Tracker: http://roundup-tracker.org/