We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22f84a8 commit f47350aCopy full SHA for f47350a
roundup/cgi/client.py
@@ -1404,8 +1404,9 @@ def check_anonymous_access(self):
1404
1405
# allow Anonymous to view the "user" "register" template if they're
1406
# allowed to register
1407
- if (self.db.security.hasPermission('Register', self.userid, 'user')
1408
- and self.classname == 'user' and self.template == 'register'):
+ if (self.template == 'register' and self.classname == 'user'
+ and self.db.security.hasPermission('Register',
1409
+ self.userid, 'user')):
1410
return
1411
1412
# otherwise for everything else
0 commit comments