Repository navigation
Grant waitlist GitHub access from a Railway email array - #79
Merged
Merged
Conversation
SYNCIDIAN_GITHUB_ALLOWED_EMAILS accepts a JSON array, commas, or one email per line so Railway can admit specific waitlist people without opening GitHub sign-in to everyone. Co-authored-by: Shangeeth Sivan <shangeethsivan@users.noreply.github.com>
The Waitlist page never writes the allowlist. It only builds SYNCIDIAN_GITHUB_ALLOWED_EMAILS so operators can paste it into Railway Variables after admitting someone from the waitlist. Co-authored-by: Shangeeth Sivan <shangeethsivan@users.noreply.github.com>
shangeethsivan
marked this pull request as ready for review
September 5, 2026 03:23
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.
GitHub sign-in access stays in Railway (
SYNCIDIAN_GITHUB_ALLOWED_EMAILS). The app never stores that list. Joining the waitlist still only records the email.How to admit someone
On the Railway service, set:
Commas and one email per line also work. The older
SYNCIDIAN_GITHUB_ALLOWED_EMAILvariable is still accepted and merged. An empty value still means anyone can sign in.After you save the variable, Railway redeploys and that GitHub account can complete OAuth (six-tap reveal on the landing page). Everyone else stays on the waitlist.
Admin helper
The operator Waitlist page cannot grant access itself. It builds the next
SYNCIDIAN_GITHUB_ALLOWED_EMAILSvalue from the current environment list plus people you add, then copies it so you can paste it into Railway → Variables. Access applies on the next deploy.