first commit
This commit is contained in:
12
core/apps/accounts/permissions/participant.py
Normal file
12
core/apps/accounts/permissions/participant.py
Normal file
@@ -0,0 +1,12 @@
|
||||
from rest_framework import permissions
|
||||
|
||||
|
||||
class ParticipantPermission(permissions.BasePermission):
|
||||
|
||||
def __init__(self) -> None: ...
|
||||
|
||||
def __call__(self, *args, **kwargs):
|
||||
return self
|
||||
|
||||
def has_permission(self, request, view):
|
||||
return True
|
||||
Reference in New Issue
Block a user