def METHOD_NAME(cls, context, permissions=None, **data):
    app = get_app_promise(context).get()
    if app:
        raise PermissionDenied(
            message="Apps are not allowed to perform this mutation."
        )
    return super().METHOD_NAME(context, permissions)