-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
feat(webapp): management API for orgs, projects, members, and settings #4146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
nicktrn
wants to merge
29
commits into
main
Choose a base branch
from
feat/local-management-api-tri-11579
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
4eaa5df
feat(webapp): PAT-authenticated management API for orgs, members, inv…
nicktrn ac7412b
feat(webapp): management API for org/project rename + delete, env var…
nicktrn 1a84982
feat(webapp,core): return project defaultRegion (worker-group name, n…
nicktrn abf50e6
chore: add changeset for core defaultRegion field
nicktrn 2c681a2
style: apply oxfmt to management API routes
nicktrn b8517aa
fix(webapp): return 400 (not 500) on malformed JSON body in managemen…
nicktrn a3085ca
feat(webapp): Owner-gate org/project management API routes (manage:or…
nicktrn a55ebf5
chore(webapp): drop over-explicit comments above authorize calls
nicktrn e7645dc
feat: require owner role for org and project management dashboard act…
nicktrn afe965a
docs: tighten defaultRegion changeset wording
nicktrn 405dae8
fix: redirect with error toast instead of raw json on denied dashboar…
nicktrn e1477b9
fix: make defaultRegion optional in project API response for version-…
nicktrn a9e264c
feat: add createActionPATApiRoute builder and use it for set-default-…
nicktrn c6b40d0
refactor: migrate PAT org/project management routes to createActionPA…
nicktrn f4a8229
fix: let permission-denied redirect propagate in org settings action
nicktrn da7e908
fix: enforce last-member guard atomically in removeTeamMember
nicktrn de97a2b
refactor: use the $transaction helper in removeTeamMember + document …
nicktrn d50b973
fix: retry removeTeamMember on serialization conflict
nicktrn 558c0ef
fix: reject unlisted HTTP methods on multi-method PAT action routes
nicktrn 8e919d3
refactor: drop unused authorizePatOrganizationAccess helper
nicktrn b94a7a1
docs: note the PAT membership-floor requirement in webapp CLAUDE.md
nicktrn 566ee22
feat: gate org-creation API behind a flag and complete create-org fie…
nicktrn bac912c
fix: clearer 'select a plan' error when creating a project on an unac…
nicktrn 149003b
chore: drop create-org changeset (endpoint gated off, no user-facing …
nicktrn 6460adc
fix(webapp): address review findings in management API and settings r…
nicktrn 7d55cca
fix(webapp): centralize the last-member guard in removeTeamMember
nicktrn ab6509a
fix(webapp): return existing invite on re-invite regardless of origin…
nicktrn 87fe193
fix(webapp): only email newly-created invites, report re-invites accu…
nicktrn 943552b
style: oxfmt the invite/removeTeamMember changes
nicktrn File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| "@trigger.dev/core": patch | ||
| --- | ||
|
|
||
| Add `defaultRegion` to the project GET and list API responses; null when unset. |
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.