diff templates/classic/html/issue.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 84a969033ed9
children a2889d22db4a 708ce3b664d4
line wrap: on
line diff
--- a/templates/classic/html/issue.index.html	Wed Jan 26 17:27:21 2005 +0000
+++ b/templates/classic/html/issue.index.html	Fri Jan 28 03:51:19 2005 +0000
@@ -7,9 +7,8 @@
  i18n:translate="">List of issues</span>
 <td class="content" metal:fill-slot="content">
 
-<span tal:condition="not:context/is_view_ok"
- tal:omit-tag="python:1" i18n:translate=""
->You are not allowed to view this page.</span>
+<p tal:condition="not:context/is_view_ok" i18n:translate="">You are not
+  allowed to view this page.</p>
 
 <tal:block tal:define="batch request/batch" tal:condition="context/is_view_ok">
  <table class="list">
@@ -33,7 +32,7 @@
    </th>
   </tr>
 
-  <tr>
+  <tr tal:condition="i/is_view_ok">
    <td tal:condition="request/show/priority"
        tal:content="python:i.priority.plain() or default">&nbsp;</td>
    <td tal:condition="request/show/id" tal:content="i/id">&nbsp;</td>

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