9.2 peipkg.claim.changed

  • Event type: peipkg.claim.changed
  • Defined in: peipkg.evman
  • Tier: standard
  • Gating: none
  • Cardinality: once per claim grant or revoke

The record that peipkg granted a role to a package or revoked it, or tried to and failed. A grant names the new holder; a revoke leaves object.claim.holder out. A change the operator declines at the proceed prompt writes nothing.

Replaces peipkg.claim.

9.2.1 Fields #

FieldTypePresenceMeaning
subject.token.sidbin.sidrequiredThe user SID of the effective token the operation ran under.
transaction.iduintoptionalThe transaction the operation belonged to, registry or package.
object.claim.rolestrrequiredThe role a claim event changed the holder of.
object.claim.holderstroptionalThe package that holds object.claim.role after the event, by name.
outcome.successboolrequiredWhether the operation succeeded.
outcome.reasonstr.enumwhen outcome.success == falseWhy the operation resolved the way it did.

Values here (open set): stale · busy · denied · unowned · alternate-upgrade · unresolvable · untrusted · failed.
outcome.detailstroptionalFree text about the outcome, for a person to read.

Every record also carries the header fields of the envelope, which no payload repeats.

Generated from peipkg.evman by pkm/tools/gen-events-book.py. Edit the fragment, not this page.

Edit this page