pub.techne.draft.identity.createCollective

Make a collective account: a new DID whose credential the platform holds, with a random handle, and its founding membership, which the platform writes as the collective: the caller at role 40 (Steward), placed in the collective's own member space (`pub.techne.draft.space.collective.member/self`) with `addedBy` the caller (`founderMembershipVisibility: "members"`, the default), or public with no `addedBy` (`"public"`); a collective that will keep its roster private (a circle) keeps the default, since a public membership cannot be taken back. Whoever manages that member space, by its memberships public or placed, writes as the collective (pub.techne.draft.identity.writeAsCollective, permissioned.putRecords or com.atproto.repo.applyWrites, repo = the new DID), the caller among them at once; managing another of its spaces (an event's invite space, say) gives no pen. The founding membership is at rkey `mb-self-<caller DID>`, so a write of the caller's membership at that key updates it. If it cannot be written the call fails and the account is deleted. Any signed-in DID; one call spends one of the caller's writes. A retried call makes another collective.

Details · procedure
Kindprocedure
Authorityidentity.draft.techne.pub
Commit rev3n3iob54mv62u
Indexed

What's different

There is nothing to compare yet: this is the only version of pub.techne.draft.identity.createCollective anywhere.