ParticipantRoleNEW
ParticipantRole:
type ParticipantRole = | "owner" | "reviewer" | "reader";A participant’s document access role.
ownerhas full access, including accepting and rejecting tracked changes.reviewermay create tracked changes and comments and withdraw their own pending suggestions. Reviewers may not accept or reject tracked changes or make untracked content changes. Programmatic model changes, including comments, require a matchingTransactionOptions.reviewauthor.readerhas read-only access.
Role checks apply to programmatic transactions and editor input alike.