Who can use your app
The four ways to decide who can open an app, how to change them from Settings → Access, which ones members can use in a company, and how to build your app's own sign-in.
When you create an app you choose who can use it. That's the app's access mode. You can always see it in the app's Settings → Access, and the app's owner can change it there at any time (in a company workspace, so can the workspace's owners and admins). There are four:
Public
Anyone with the link can open and use the app. Pick this for things you want the world to see — a marketing site, a public tool, a demo.
Invite only
The app is closed to everyone except people who sign up through your invite link. You get the link when the app is ready and can share it however you like; it also lives on the app's Settings tab.
If the link leaks, use Rotate link in Settings: the old link stops working immediately, everyone is signed out, and you get a fresh link to share with the right people.
Workspace members
Available on company workspaces. The app is open to exactly the people on your workspace team — no separate list to maintain, no link to share.
- What your team sees. Opening the app takes them to a sign-in page carrying your workspace branding. They sign in with their work email — the sign-in link or the 6-digit code from the email, or Sign in with Google — and land back in the app, signed in for 90 days on that browser. No passwords, nothing to install. How people sign in →
- Managing who's in. Membership is your workspace team, managed in one place: Settings → Team. Add someone there and they can use every members app right away; remove them and their access ends — someone with the app already open may keep it for up to 24 hours before they're asked to sign in again (and can't).
- Need everyone out right now? Use Sign everyone out on the app's Settings tab. Every current session ends immediately; members just sign back in. This is the fast lever when someone leaves and 24 hours is too long to wait.
- Members sign-in works everywhere the app answers — its Ghosty address, preview versions, and any custom domain you've connected.
My own sign-in
The app handles its own accounts: you (or your AI assistant) build the sign-up, sign-in, and permissions inside the app itself. Pick this when your users aren't your teammates — customers, subscribers, a community — and you want full control over the experience. See Building your own sign-in below.
Changing who can use an app
Only the app's owner can change it (in a company workspace, the workspace's owners and admins can too), and only from the console:
- Open the app and go to Settings → Access.
- Choose Change, then pick an option.
- Confirm. Making an app Public, or switching it to My own sign-in, asks you to type the app's name first.
Changing it doesn't touch your app's code, and you don't need to deploy. The change takes about a minute while the app's new version goes live, and the console tells you when it's done.
You can't change it while the app is being deployed, set up, moved or deleted, or while it has open previews. Wait for that to finish (or close the previews), then try again.
If a change doesn't fully take effect, Settings → Access says so and tells you who the app lets in right now. Choose Try again to finish it.
What a change means for people already using the app
- To Public: anyone with the app's link can open it and see its data.
- To Invite only: you get a new invite link. Everyone needs it to get in, including people already using the app. A link from before stops working, and so does a link from an earlier time the app was invite only.
- To Workspace members: only members of the workspace can open it, and they sign in with their email. People who came in with the invite link and aren't members lose access.
- To My own sign-in: White Ghost stops checking who opens the app, and your app's own sign-in decides.
- Away from Workspace members: members can still sign in for a little while, until the new setting is live. After that, the new setting applies to everyone.
Choose which access modes members can use
Available on company workspaces. Owners and admins choose which access modes members can pick for their apps. You'll find it in your workspace's Settings, in the card Members can create apps with these access modes.
- Turn on one or more of Public, Invite only, Workspace members and My own sign-in, then choose Save. At least one stays on.
- Until an owner or admin saves this setting, members can use all four.
Who it applies to
Members. When a member creates an app, in the console, from the command line or through their coding assistant, they can only pick a mode that's turned on, and the console only offers those. My own sign-in is never picked for them: if it's the only mode turned on, they choose it themselves. A member also can't change one of their apps to a mode that's turned off. When there's nothing else they may pick, the app's Settings → Access tells them to ask a workspace owner or admin.
Owners and admins can always pick any mode, for their own apps and for anyone's. That's how you make an exception: create the app yourself, or change a member's app to the mode it needs (Settings → Access on the app).
Apps that already exist
Changing this setting never changes an existing app. An app in a mode you turn off keeps working exactly as it is: it keeps serving its users, and its creator keeps deploying it. The same card lists those apps under Apps using a mode that is no longer allowed, with who created each one, so you can decide what to do with each. For example, open the app and change it to an allowed mode.
From the command line
ghosty init --access <mode> chooses who can use a new app: public, invite, members or byo (My own sign-in). Without it, the app gets its starter's mode, or Public for a blank app.
In a workspace that limits access modes, members can only choose a mode that's turned on. If a member doesn't choose, the app keeps its usual mode when that mode is allowed. Otherwise it gets the most private allowed one (Workspace members, then Invite only, then Public), and the command says why. My own sign-in is never picked for you: if it's the only mode turned on, run ghosty init again with --access byo. Nothing is created until there's a mode the workspace allows.
Building your own sign-in
My own sign-in becomes available once your app has its own sign-in. Until then, the option shows "Ask your assistant to build your sign-in first", because choosing it would let everyone in.
- Ask your AI assistant to build your app's sign-in. It belongs in the app's own sign-in file:
backend/src/lib/ownSignIn.ts(Python apps:backend/src/own_sign_in.py). Your assistant knows where it goes. - Deploy the app.
- In Settings → Access, choose Change → My own sign-in, and type the app's name to confirm.
If the app's access check was changed in its code
If you or your assistant edited the app's access check directly, Settings → Access says "This app's access check was changed in its code."
- If the app now has its own sign-in, choose Mark as own sign-in.
- For any other option, ask your assistant to move your sign-in into the app's own sign-in file and undo its other changes to the access check. Then deploy and change the setting.
Apps created before you could change access
Older apps need a one-time update before you can change who can use them. After the update, you change it in Settings → Access without touching the app's code. Settings → Access tells you when an app needs the update.
- Apps with a GitHub repository: choose Update access check in Settings → Access. The update is published like any other change, and you can follow it in Deploys. Deploy any changes that aren't live yet first. If your repository's main branch only accepts reviewed changes, ask your assistant to run
ghosty access upgradeand open a pull request instead. - Apps whose code is kept on your workspace: open the app's folder on your computer (run
ghosty clone <app>first if the code isn't there yet). Make sure you're signed in (ghosty login), then run:
ghosty access upgrade
ghosty deploy
Once that version is live, change who can use the app in Settings → Access. The update doesn't change who can use the app.
The update first checks the app's code against its setting in Settings → Access. If they don't match, it stops without changing anything; for example, the setting says Public but the code only lets in people with the invite link. Contact support and we'll help you match them.
If you or your assistant changed the app's access check by hand, the update leaves it alone and tells you why. If your app has its own sign-in, ask your assistant to move it into backend/src/lib/ownSignIn.ts (Python apps: backend/src/own_sign_in.py) and put the access check back the way it was. Then run ghosty access upgrade again. If you'd rather keep the sign-in where it is, choose Mark as own sign-in in Settings → Access.