diff 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
line wrap: on
line diff
--- a/templates/classic/html/msg.index.html	Wed Jan 26 17:27:21 2005 +0000
+++ b/templates/classic/html/msg.index.html	Fri Jan 28 03:51:19 2005 +0000
@@ -8,6 +8,7 @@
 <table class="messages" tal:condition="request/filter">
  <tr><th colspan=2 class="header" i18n:translate="">Messages</th></tr>
  <tal:block tal:repeat="msg context/list">
+ <tal:block tal:condition="msg/is_view_ok">
   <tr>
    <th tal:content="string:Author: ${msg/author}">author</th>
    <th tal:content="string:Date: ${msg/date}">date</th>
@@ -16,6 +17,7 @@
    <td colspan="2"><pre tal:content="msg/content">content</pre></td>
   </tr>
  </tal:block>
+ </tal:block>
 </table>
 </td>
 

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