Mercurial > p > roundup > code
diff roundup/cgi/actions.py @ 4112:6441ffe588f7
fix bug introduced into CSV export and view (issue 2550529)
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Mon, 16 Mar 2009 04:16:43 +0000 |
| parents | 34434785f308 |
| children | 878767b75e1d |
line wrap: on
line diff
--- a/roundup/cgi/actions.py Mon Mar 16 03:41:31 2009 +0000 +++ b/roundup/cgi/actions.py Mon Mar 16 04:16:43 2009 +0000 @@ -1041,7 +1041,7 @@ row = [] for name in columns: # check permission to view this property on this item - if exists and not self.hasPermission('View', itemid=itemid, + if not self.hasPermission('View', itemid=itemid, classname=request.classname, property=name): raise exceptions.Unauthorised, self._( 'You do not have permission to view %(class)s'
