def METHOD_NAME(self, record, user, **kwargs):
    """ Test function to check if authn is working. """
    """ Record and User are resolved using the decorators """
    # return make_response(("You can modify the file!<br> PID: {}<br>new owner: {}<br>previous owners: {}".format(
    #     str(record['_deposit']['pid']['value']),
    #     str(user.email),
    #     ", ".join([str(User.query.filter(
    #         User.id.in_([i])).all()[0].email) for i in record['_deposit']['owners']])
    # ), 200))
    abort(501, description="Ownership API not available at the moment")
    #return make_response(("API not available at the moment"), 501)