OpenSlides/openslides/core/access_permissions.py

10 lines
214 B
Python
Raw Normal View History

class AccessPermissions:
def get_serializer_class(self, user):
return None
def can_retrieve(self, user):
"""
TODO
"""
return user.has_perm('core.can_see_projector')