Repository navigation
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…-2702) Reads the caller's reach after login, adds an organisation picker that narrows every list, an Admin > Organisations page for partners, organisations and claiming unowned zones, hides cluster-only screens from partner and organisation admins, and lets cluster staff set a domain's owner. ts-client comes from the built PPT-526-tenancy-dist branch until ts-client#31 publishes.
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backoffice half of multi-tenancy (PPT-2702, under PPT-526). Pairs with PlaceOS/rest-api#451, PlaceOS/ts-client#31 and PlaceOS/models#332. Draft until the set has been through a clean install on the test cluster.
What this does
GET /organisations/currentonce. An API without that route behaves exactly as today (cluster reach, nothing hidden).organisation_id.ts-client dependency
bun installs git dependencies without their dev tooling, so it cannot build ts-client from its source branch.
package.jsontherefore pins@placeos/ts-clientto a commit onPPT-526-tenancy-dist, a disposable branch holding the built output ofPPT-526-tenancy. Once ts-client#31 merges and publishes, this goes back to a version range and the dist branch is deleted.Verification
nx buildclean.Plan: https://gist.github.com/camreeves/3fabfff92bcdef77a1dcb4b8d8ebfe7b