Skip to content

Erasure

tilttek/badges

Badges::erase($member) removes everything the library keeps about the member and returns an Erasure:

FieldWhat was removed
awardsTheir awards, by hand or earned
contributionsWhat their activity brought to the badges' criteria
grantsThe consents they gave other applications
profileWhether a profile — the badges shown, the showcase, the title — was removed

The member's activity itself is tilttek/activity's, erased by its journal. A credential the application issued for a badge is the member's: it stays verifiable where they keep it.