-
Notifications
You must be signed in to change notification settings - Fork 455
[feat] Add multi-organizations, verified domains, and sso providers #3372
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
jp-agenta
wants to merge
153
commits into
release/v0.78.0
Choose a base branch
from
feat/add-multi-orgs-domains-and-sso
base: release/v0.78.0
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.
+22,247
−2,617
Open
Changes from all commits
Commits
Show all changes
153 commits
Select commit
Hold shift + click to select a range
40a0c70
initial commit WIP
jp-agenta e330e69
update lock
jp-agenta 61267b4
fix cachetools
jp-agenta f720c46
ruff format and minor fixes
jp-agenta 244eb5c
fix migrations tree
jp-agenta ff389fd
clean up dependencies, add taskiq, remove celery
jp-agenta 1a26b4c
Fix spin up and sign up ongoing
jp-agenta e536872
fixing default progress, overall still ongoing
jp-agenta 45b743d
with sperating auth methods and oss/ee constraints
jp-agenta 2d9b2f8
url invites when no transactional emails
jp-agenta c476998
fix anchor calculation in usage
jp-agenta 51d59e6
Merge branch 'chore/batch-otlp' into chore/offline-agenta
jp-agenta 2d1d0e0
apply ruff and fix env vars
jp-agenta 02bef8c
apply ruff again
jp-agenta 1d3369a
fix copy
jp-agenta 6107299
initial PoC WIP
jp-agenta 68ba5b5
fixing social alone
jp-agenta fb56278
Merge branch 'release/v0.69.2' into chore/offline-agenta
jp-agenta 9249f2b
Merge branch 'chore/offline-agenta' into feat/sso-oidc
jp-agenta 66f659b
Merge branch 'chore/check-daytona-code-evaluator' into chore/offline-…
jp-agenta 302311f
Merge branch 'chore/offline-agenta' into feat/sso-oidc
jp-agenta e45eb17
WIP
jp-agenta bc51c35
Fixing fallbacks
jp-agenta 11169f3
fixing discovery, high level
jp-agenta e924b23
minor fixes to invites
jp-agenta db9ab10
Extend OIDC to all SuperTokens built-in providers
jp-agenta 627df12
fix sendgrid enabled conditions
jp-agenta 9b45552
try and simplify env files
jp-agenta 3d6ead7
minor env example fix
jp-agenta 6a3ee5c
Merge branch 'chore/check-daytona-code-evaluator' into chore/offline-…
jp-agenta 9f49d6c
Merge branch 'chore/offline-agenta' into feat/sso-oidc
jp-agenta d0d42b0
Add personal/collaborative
jp-agenta d9a6e16
large organization clean-up (WIP)
jp-agenta 12eab62
add multi-orgs, transfer orgs, rename orgs, rename user, fix minor bugs
jp-agenta e3e964e
remove unnecessary labels in auth
jp-agenta c3a149f
fix missing project-id check
jp-agenta 86d49cd
Fix transfer issues and more
jp-agenta c4c359b
Fixing and cleaning up tables (org / wrk / prj / usr)
jp-agenta ac974ba
fix org policy enforcement
jp-agenta 3809e0e
fix imports
jp-agenta eb0b2a9
pleeeenty of UX/UI/functional fixes
jp-agenta 66e4ddc
Organization tab WIP
jp-agenta 7000876
Fixes identities and sessions
jp-agenta 6e9427d
remove logs and prints
jp-agenta 41df0b4
remove more logs
jp-agenta ad3fe32
fixing routers duplicates and other user race condition issues ?
jp-agenta 19d7df4
remove more logs
jp-agenta 79b00f7
clean up and remove organization invitations
jp-agenta 4d6a8ad
clean up organization invitations
jp-agenta 2fa178a
fix race condition
jp-agenta 7b95e27
fixin domain verification (WIP)
jp-agenta b0761a2
clean up Organization Tab and fix some API bugs
jp-agenta 8e34e79
minor UI fixes
jp-agenta a79d87b
fix default organization flags
jp-agenta 22f97d7
minor UI fixes
jp-agenta bd0b417
Minor copy fixes
jp-agenta 50ceed9
minor copy fixes
jp-agenta 31b8cdf
minor flags fix
jp-agenta 943d304
move sso provider settings to secrets
jp-agenta 2305e1c
fix secrets serialization
jp-agenta 72b3c9a
eslint and fix acces token auth
jp-agenta b09dcab
First SSO login !
jp-agenta 620ac3f
Merge branch 'chore/check-daytona-code-evaluator' into feat/sso-oidc
jp-agenta aba48ff
Merge branch 'frontend-feat/new-testsets-integration' into feat/sso-oidc
jp-agenta d842983
add COMPOSE_PROJECT_NAME
jp-agenta ab58697
Fixing Auth pages and Personal Org name
jp-agenta 369be5d
Fix org rename and org/prj switch
jp-agenta 047e242
fix race condition at identity creation
jp-agenta 7f0c6c1
Fixing account linking
jp-agenta 50bbd77
Add POSTGRES_PORT to examples
jp-agenta c252958
Merge branch 'chore/check-daytona-code-evaluator' into feat/sso-oidc
jp-agenta c2eccc9
Working on verified identities and access control
jp-agenta 2900e8c
Trying to fix Access Control (Deny)
jp-agenta 3c4fd59
email auth merges identities
jp-agenta 4311c14
Fix cross-organization navigation and authentiation
jp-agenta 0db7343
sso login and disabled work
jp-agenta bef1188
fixing SSO and auth flows
jp-agenta 31f9e85
Testing things throughout
jp-agenta bfa0a6d
fixing flags (WIP)
jp-agenta 7193da2
Add tooltip
jp-agenta c228f9e
cleanup flags
jp-agenta f07148c
apply ruff and fix domain enforcement
jp-agenta 96cc1c3
Merge branch 'main' into feat/sso-oidc
jp-agenta 00b32ca
Fix verified-domain invitation failed message
jp-agenta afc9339
Add back actionable step.
jp-agenta b7bf308
pnpm run format-fix && pnpm run lint-fix
jp-agenta c2164e3
Add design documents
jp-agenta 0bd86e6
Add QA.md
jp-agenta 17ff954
pnpm run format-fix && pnpm run lint-fix (again)
jp-agenta 4ab2c29
update poetry toml/lock
jp-agenta b97eac8
remove prints
jp-agenta dcf7599
remove console.log()
jp-agenta 33bcf68
cleanup, first wave
jp-agenta da4d4c3
cleanup, second wave
jp-agenta be82cf1
cleanup, third wave
jp-agenta 2ef67a1
cleanup, fourth wave
jp-agenta 7a9b60c
cleanup separators
jp-agenta 8e326e5
Potential fix for code scanning alert no. 148: Information exposure t…
jp-agenta dc879e6
cleanup, sixth wave
jp-agenta dacb035
Merge branch 'feat/add-multi-orgs-domains-and-sso' of github.com:Agen…
jp-agenta 3699c83
cleanup, seventh wave
jp-agenta 1d3b66f
Merge branch 'feat/multi-testcase-run-onplaygorund' into feat/add-mul…
jp-agenta 04e6ac1
cleanup, eighth wave
jp-agenta dfa577c
cleanup, nineth wave
jp-agenta 626ccbf
pnpm lint-fix
jp-agenta 371fc97
debugging ee ?
jp-agenta 1a74ec5
Merge branch 'main' into feat/add-multi-orgs-domains-and-sso
jp-agenta 580f388
fix ee migrations and OTP
jp-agenta 344bb97
Fix Stripe ?
jp-agenta d067ee8
fix uuid4 to uuid7
jp-agenta 2c83a79
fix uuid4 to uuid7 (cloud)
jp-agenta 188fc62
Refactor organization settings page to use toggle switches for authen…
mmabrouk 7d116cc
Add success indicator for organization settings updates and refactor …
mmabrouk 3d2d79b
fix(frontend): restore sidebar copy and logout menu
mmabrouk e6a93c4
fix(frontend): adjust settings sidebar labels
mmabrouk 9af9d5e
fix(frontend): update settings page titles to match sidebar labels
mmabrouk 3c7c8b3
fix(auth): route new email/password signups to post-signup onboarding
mmabrouk f672e03
fix(api): enforce demo project viewer permissions regardless of RBAC …
mmabrouk f35f42a
Remove personal org defaults from account creation
mmabrouk 72f8ba1
Add entitlements
jp-agenta 3c3689e
Refactor organization migration by removing personal organization han…
mmabrouk 12062a0
Remove handling of personal organizations and related flags across va…
mmabrouk 2e9bc84
Refactor organization migration to remove is_personal flag handling a…
mmabrouk 767337a
Remove personal organization handling from WorkspaceManage component …
mmabrouk f42e7a9
Remove personal organization checks from ListOfOrgs component to stre…
mmabrouk 4a6d7e4
Remove personal organization checks from Settings component to stream…
mmabrouk 2589e00
Refactor organization handling in post-auth redirect logic by removin…
mmabrouk 8527fc7
Refactor organization selection logic by removing personal organizati…
mmabrouk 1f7de98
Update documentation to reflect removal of personal organizations
mmabrouk 678853f
Remove personal organization display logic from Organization componen…
mmabrouk c4222a1
Rename CreateCollaborativeOrganization model to CreateOrganizationPay…
mmabrouk f6cd262
cleanup logs
jp-agenta 97848b5
Cannot delete last organization
jp-agenta ad268b5
Expose exceptions as domain-level exception
jp-agenta c53161c
Remove dynamic imports
jp-agenta 8d5d07c
Add SUPERTOKENS_EMAIL_DISABLED env var
jp-agenta 1b2fa39
Fix env vars and docs
jp-agenta bac5e4d
Merge branch 'release/v0.78.0' into feat/add-multi-orgs-domains-and-sso
jp-agenta 8786bd2
Add ruff-format in pre-commit
jp-agenta 4ad6f98
limit ruff scope
jp-agenta c78935a
Update index.tsx
jp-agenta 89deead
Fix imports
jp-agenta f4b77dc
Merge pull request #3389 from Agenta-AI/fix/demo-project-rbac-enforce…
mmabrouk f96f5df
Merge pull request #3386 from Agenta-AI/fix/post-signup-routing-for-e…
mmabrouk 47c93c9
Merge pull request #3385 from Agenta-AI/fix/settings-sidebar-members
mmabrouk 646d50a
Merge pull request #3384 from Agenta-AI/fix/sidebar-revert-ui
mmabrouk d5833b4
Merge branch 'feat/add-multi-orgs-domains-and-sso' into feat/improvem…
mmabrouk b1b47d3
Merge pull request #3383 from Agenta-AI/feat/improvement-settings-pan…
mmabrouk cd24fc5
update poetry
jp-agenta 848589f
Merge feat/add-multi-orgs-domains-and-sso and rename collaborative or…
mmabrouk 435fa4c
fix(frontend): improve SSO login and invite flow handling
mmabrouk 151ba3e
fix(docs): add redis-caching anchor to fix broken link in changelog
mmabrouk 76ce09e
Merge pull request #3401 from Agenta-AI/chore/remove-personal-org-def…
jp-agenta 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
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
51 changes: 51 additions & 0 deletions
51
api/ee/databases/postgres/migrations/core/versions/12d23a8f7dde_add_slug_to_organizations.py
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,51 @@ | ||
| """add slug to organizations | ||
|
|
||
| Revision ID: 12d23a8f7dde | ||
| Revises: 59b85eb7516c | ||
| Create Date: 2025-12-25 00:00:00.000000+00:00 | ||
|
|
||
| """ | ||
|
|
||
| from typing import Sequence, Union | ||
|
|
||
| from alembic import op | ||
| import sqlalchemy as sa | ||
|
|
||
| # revision identifiers, used by Alembic. | ||
| revision: str = "12d23a8f7dde" | ||
| down_revision: Union[str, None] = "59b85eb7516c" | ||
| branch_labels: Union[str, Sequence[str], None] = None | ||
| depends_on: Union[str, Sequence[str], None] = None | ||
|
|
||
|
|
||
| def upgrade() -> None: | ||
| # Add slug column to organizations table | ||
| op.add_column( | ||
| "organizations", | ||
| sa.Column( | ||
| "slug", | ||
| sa.String(), | ||
| nullable=True, | ||
| ), | ||
| ) | ||
|
|
||
| # Add unique constraint on slug | ||
| op.create_unique_constraint( | ||
| "uq_organizations_slug", | ||
| "organizations", | ||
| ["slug"], | ||
| ) | ||
|
|
||
| # Add index for faster lookups | ||
| op.create_index( | ||
| "ix_organizations_slug", | ||
| "organizations", | ||
| ["slug"], | ||
| ) | ||
|
|
||
|
|
||
| def downgrade() -> None: | ||
| # Drop in reverse order | ||
| op.drop_index("ix_organizations_slug", table_name="organizations") | ||
| op.drop_constraint("uq_organizations_slug", "organizations", type_="unique") | ||
| op.drop_column("organizations", "slug") |
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.