computer.localnetwork.staff.flag

Who a feature flag is on for, keyed by the flag's key. Any gate that matches turns it on. Written only by the root account into the staff space.

Repository @localnetwork.computer did:plc:d42l64gsczg6qh2vo243xv5l not from the namespace authority
Details · record, key any
Kindrecord
Record keyany
Authoritystaff.localnetwork.computer
Commit rev3n2kadnknpe2n
Indexed

Record

record · key any

Properties

dids

requiredarray

Accounts it's on for.

  • maxLength: 1000
itemsstring · did

enabled

boolean

False turns it off for everyone and keeps the gates below for when it's back on. Missing means true.

everyone

requiredboolean

On for every visitor, signed in or not.

groups

requiredarray

Record keys of the computer.localnetwork.staff.group records it's on for.

  • maxLength: 100
itemsstring
  • maxLength: 64

key

requiredstring
  • maxLength: 64

percentage

requiredinteger

On for this share of signed-in accounts. An account stays in as the share grows.

  • minimum: 0
  • maximum: 100

updatedAt

requiredstring · datetime

updatedBy

requiredstring · did

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • computer.localnetwork.staff.group

    record not from the namespace authority

    A named group of accounts that feature flags can be turned on for. Written only by the root account into the staff space.

  • computer.localnetwork.flags.getFlags

    query not from the namespace authority

    Every feature flag's public gates, and whether the caller is targeted by account or group. Inter-service auth is optional: without it, nothing is targeted. A flag is on for a caller when it's enabled and it's on for everyone, targets them, or their DID falls inside the percentage. Group names and member lists aren't exposed.

  • Enables a specific experimental feature flag identified by the record key.