changeset 3357:5c8822d10fdc

fix invocation of hasPermission from templating code [SF#1224172]
author Richard Jones <richard@users.sourceforge.net>
date Fri, 24 Jun 2005 05:26:29 +0000
parents 2913b42c0810
children cf9149fd3c6d
files CHANGES.txt doc/index.txt roundup/cgi/templating.py
diffstat 3 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/CHANGES.txt	Fri Jun 24 05:22:03 2005 +0000
+++ b/CHANGES.txt	Fri Jun 24 05:26:29 2005 +0000
@@ -18,6 +18,7 @@
 - use translation for boolean property rendering (sf bug 1225152)
 - enabled disabling of REMOTE_USER for when it's not a valid username (sf
   bug 1190187)
+- fix invocation of hasPermission from templating code (sf bug 1224172)
 
 
 2005-05-02 0.8.3
--- a/doc/index.txt	Fri Jun 24 05:22:03 2005 +0000
+++ b/doc/index.txt	Fri Jun 24 05:26:29 2005 +0000
@@ -135,6 +135,7 @@
 Stefan Seefeld,
 Jouni K Seppänen,
 Jeffrey P Shell,
+Dan Shidlovsky,
 Joel Shprentz,
 Terrel Shumway,
 Emil Sit,
--- a/roundup/cgi/templating.py	Fri Jun 24 05:22:03 2005 +0000
+++ b/roundup/cgi/templating.py	Fri Jun 24 05:26:29 2005 +0000
@@ -1056,7 +1056,7 @@
         if classname is self._marker:
             classname = self._client.classname
         return self._client.db.security.hasPermission(permission,
-            self._nodeid, classname)
+            self._nodeid, classname, property, itemid)
 
 def HTMLItem(client, classname, nodeid, anonymous=0):
     if classname == 'user':

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