# HG changeset patch # User Lennard de Rijk # Date 1232981467 0 # Node ID 71f15c023847fcb58f767ea91b37cd3c062fca7c # Parent 125257161908295d2cb0ff7c392cf0df767c5f1b Developers are hosts for every sponsor now. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed diff -r 125257161908 -r 71f15c023847 app/soc/views/helper/access.py --- a/app/soc/views/helper/access.py Mon Jan 26 09:44:00 2009 +0000 +++ b/app/soc/views/helper/access.py Mon Jan 26 14:51:07 2009 +0000 @@ -359,7 +359,7 @@ """ try: - # if the current user is invited to create a host profile we allow access + # if the current user is a developer we allow access checkIsDeveloper(kwargs) return except out_of_band.Error: @@ -398,6 +398,13 @@ * if the user is not even logged in """ + try: + # if the current user is a developer we allow access + checkIsDeveloper(kwargs) + return + except out_of_band.Error: + pass + checkAgreesToSiteToS(kwargs) user = user_logic.getForCurrentAccount()