Mercurial > p > roundup > code
diff roundup/cgi/templating.py @ 2575:cc7885c427b0 maint-0.7
merge from HEAD
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Wed, 14 Jul 2004 04:19:00 +0000 |
| parents | 9184fbd2aab0 |
| children | 4a72b2ded24b |
line wrap: on
line diff
--- a/roundup/cgi/templating.py Wed Jul 14 01:11:37 2004 +0000 +++ b/roundup/cgi/templating.py Wed Jul 14 04:19:00 2004 +0000 @@ -950,6 +950,7 @@ # may anonymous users register? (so, they need to be anonymous, # need the Web Rego permission, and not trying to view an item) rego = s.hasPermission('Web Registration', userid, self._classname) + rego = rego and self._client.template == 'register' if is_anonymous and rego and getattr(self, '_nodeid', None) is None: return 1
