#100: Fixed wrong permissions.

This commit is contained in:
Emanuel Schuetze 2012-04-30 08:50:35 +02:00
parent eb7672074e
commit b65e21e08f
2 changed files with 2 additions and 3 deletions

View File

@ -317,9 +317,8 @@ class Application(models.Model, SlideMixin):
if user:
try:
user.profile
is_admin = True
except Profile.DoesNotExist:
pass
is_admin = True
# check if user allowed to withdraw an application
if ((self.status == "pub"