Source code for scipost.permissions

__copyright__ = "Copyright © Stichting SciPost (SciPost Foundation)"
__license__ = "AGPL v3"



[docs]def is_tester(user): """ This method checks if user is member of the Test Group. """ return user.groups.filter(name='Testers').exists()