-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
da5218e
feat(webapp): PAT-authenticated management API for orgs, members, inv…
nicktrn 739f2ba
feat(webapp): management API for org/project rename + delete, env var…
nicktrn a89b30f
feat(webapp,core): return project defaultRegion (worker-group name, n…
nicktrn ae9d418
chore: add changeset for core defaultRegion field
nicktrn 9a65d0d
style: apply oxfmt to management API routes
nicktrn c6be8e3
fix(webapp): return 400 (not 500) on malformed JSON body in managemen…
nicktrn 66de64d
feat(webapp): Owner-gate org/project management API routes (manage:or…
nicktrn cc5d7c8
chore(webapp): drop over-explicit comments above authorize calls
nicktrn b53f532
feat: require owner role for org and project management dashboard act…
nicktrn 308e808
docs: tighten defaultRegion changeset wording
nicktrn e71b8d3
fix: redirect with error toast instead of raw json on denied dashboar…
nicktrn b1cacac
fix: make defaultRegion optional in project API response for version-…
nicktrn 727e5d8
feat: add createActionPATApiRoute builder and use it for set-default-…
nicktrn b79afb9
refactor: migrate PAT org/project management routes to createActionPA…
nicktrn c5c03f2
fix: let permission-denied redirect propagate in org settings action
nicktrn 7aab662
fix: enforce last-member guard atomically in removeTeamMember
nicktrn 9af8fed
refactor: use the $transaction helper in removeTeamMember + document …
nicktrn 35174b7
fix: retry removeTeamMember on serialization conflict
nicktrn 316680c
fix: reject unlisted HTTP methods on multi-method PAT action routes
nicktrn 30122d6
refactor: drop unused authorizePatOrganizationAccess helper
nicktrn 0eadfe4
docs: note the PAT membership-floor requirement in webapp CLAUDE.md
nicktrn a4a905a
feat: gate org-creation API behind a flag and complete create-org fie…
nicktrn 5835ef0
fix: clearer 'select a plan' error when creating a project on an unac…
nicktrn 370d398
chore: drop create-org changeset (endpoint gated off, no user-facing …
nicktrn 532bbd8
fix(webapp): address review findings in management API and settings r…
nicktrn cd0814e
fix(webapp): centralize the last-member guard in removeTeamMember
nicktrn 9ce880b
fix(webapp): return existing invite on re-invite regardless of origin…
nicktrn fdf3c05
fix(webapp): only email newly-created invites, report re-invites accu…
nicktrn 1d51bb7
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.
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.