Find if user have global or per object permission firstly on category instance, 
        if not then on thread instance

def has_moderator_permissions(self, request):
        """
        Find if user have global or per object permission firstly on category instance, 
        if not then on thread instance
        """
        return any(request.user.has_perm(perm) for perm in self.permission_required)