def has_permission(self, obj=None):
        for permission in self.permissions:
            if not permission.has_permission(self.request, self, obj):
                return False
        return True
Return ``True`` if the permission for this view shall be granted,
dataset/ETHPy150Open pydanny/django-admin2/djadmin2/viewmixins.py/PermissionMixin.has_permission