SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit 7e66ca90 authored by Jorran de Wit's avatar Jorran de Wit
Browse files

Fix typo

parent 9a531061
No related branches found
No related tags found
No related merge requests found
......@@ -87,7 +87,7 @@ class Contributor(models.Model):
or self.user.is_superuser)
def is_SP_Admin(self):
return (self.fellowships.active().filter(name='SciPost Administrators').exists()
return (self.user.groups.filter(name='SciPost Administrators').exists()
or self.user.is_superuser)
def is_MEC(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment