def change_role(actor, owner, record, role):
    """Only owner is allowed to update record."""
    record["role"] = role
