Fix typos

This commit is contained in:
Sebastian Weber
2022-01-20 00:50:41 +01:00
parent 0f7dc096cb
commit c20e982fb1
34 changed files with 51 additions and 51 deletions

View File

@ -34,7 +34,7 @@ def has_group_permission(user, groups):
"""
Tests if a given user is member of a certain group (or any higher group)
Superusers always bypass permission checks.
Unauthenticated users cant be member of any group thus always return false.
Unauthenticated users can't be member of any group thus always return false.
:param user: django auth user object
:param groups: list or tuple of groups the user should be checked for
:return: True if user is in allowed groups, false otherwise