at.happyproto.admin.createSpaces

Create 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 and adds no one. Only HappyProto's own account may call it.

Repository @happyproto.at did:plc:mo7vq4jbioxwafy5zkcc3eux namespace authority
Details · procedure
Kindprocedure
Authorityadmin.happyproto.at
Indexed

What's different

same NSID · two revisions from the same publisher
admin.happyproto.at · namespace authority
admin.happyproto.at · namespace authority
1 change, all backward compatible

Records and requests that were valid against the base schema stay valid against this one.

Procedure · errors

#main
Added

Conflict

compatible

New error.

Conflict
4 properties, 3 errors and 1 def unchanged Open the full schema diff →