ChangeViewerAction

One control on a change, and whether the caller reading it may use that control.

  • The control. One of approve, reject, cancel, override.

    values
    approverejectcanceloverride
  • Whether the caller may use it right now

  • Why the control is disabled. Absent when allowed is true. One of requires_owner, requires_permission, not_an_approver, already_voted, is_requester, not_requester, not_pending, no_open_stages.

    values
    requires_ownerrequires_permissionnot_an_approveralready_votedis_requesternot_requesternot_pendingno_open_stages