def check_view_permissions(self):
        if self.action == 'retrieve':
            result = self.get_access_permissions().can_retrieve(self.request.user)
        else:
            result = self.request.user.has_perm('core.can_manage_projector')
        return result
Returns True if the user has required permissions.
dataset/ETHPy150Open OpenSlides/OpenSlides/openslides/core/views.py/CustomSlideViewSet.check_view_permissions