Mercurial > p > roundup > code
diff roundup/cgi/templating.py @ 2991:b9a55628a78d
more doc fixes
simplified the security API, and bumped those changes around
a couple more TODO items so I don't forget
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Tue, 07 Dec 2004 23:32:50 +0000 |
| parents | 9614a101b68f |
| children | 29e7a2ff6434 |
line wrap: on
line diff
--- a/roundup/cgi/templating.py Fri Dec 03 22:19:41 2004 +0000 +++ b/roundup/cgi/templating.py Tue Dec 07 23:32:50 2004 +0000 @@ -1023,7 +1023,8 @@ '''Add ability to check for permissions on users. ''' _marker = [] - def hasPermission(self, permission, classname=_marker): + def hasPermission(self, permission, classname=_marker, + property=None, itemid=None): '''Determine if the user has the Permission. The class being tested defaults to the template's class, but may
