def METHOD_NAME(*args, **kwargs):
    # Run the decorated function only if the user is authorized
    ensure_authorized(verb, group, version, resource,
                      namespace=namespace, subresource=subresource)
    return func(*args, **kwargs)