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.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | admin.happyproto.at |
| Indexed |
What's different
same NSID · two revisions from the same publisher1 change, all backward compatible
Records and requests that were valid against the base schema stay valid against this one.
Procedure · errors
#main
Added
Conflict
compatibleNew error.
Conflict
4 properties, 3 errors and 1 def unchanged
Open the full schema diff →