Skip to content

Variable: VOTE_ELIGIBILITY_CLAUSES

const VOTE_ELIGIBILITY_CLAUSES: Readonly<{
  bar_unreachable: "nobody can decide this request";
  electorate_empty: "nobody eligible is still in the group";
  electorate_not_recorded: "you can vote (filed before the electorate was recorded; any member may)";
  in_electorate: "you can vote";
  is_applicant: "this is your own request";
  not_in_electorate: "you cannot vote: you were not in the group when this was filed";
  not_pending: "not open for voting";
}>;

Defined in: rine-core/dist/src/vote-words.d.ts:64

Whether this caller may vote on a join request, one clause per reason token the server sends in you_may_vote_reason.

🔴 Clause for clause the Python twin rine.vote_words._ELIGIBILITY_CLAUSES. describeVoteEligibility renders a reason from this table.

already_voted is not here: its clause names the ballot, so it is composed rather than looked up.