dev.cartridge.claims.setupAdmin
Bootstrap the claims admin space or add a member to it. Creates the admin space on first call; subsequent calls can add new admin DIDs.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | claims.cartridge.dev |
| Indexed |
Procedure
procedure · POSTInput
application/jsonadminDid
string · didDID to add as admin. Omit on first call to just create the space.
Output
application/jsoncreated
booleanTrue if the admin space was created by this call
memberAdded
booleanTrue if adminDid was added as a member
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
at.happyproto.admin.createSpaces
procedureCreate HappyProto's admin and customers spaces, member-only, keeping either that already exists, and add each of staff to the admin space with write access, skipping existing members. Each space is looked up at the uri its script variable (HAPPYPROTO_ADMIN_SPACE, HAPPYPROTO_CUSTOMERS_SPACE) names, or, unset, under HAPPYPROTO_DID. A space created here has a DID of its own, and the uri answered is the one to set its variable to. Idempotent once the variables are set: a second call creates nothing
-
zone.stratos.admin.addAdmin
procedureGrant admin access to a DID. Requires admin authorization.
-
rsvp.atmo.space.admin.addMember
procedureAdd a member to a space. Caller must be the space owner.