-
Notifications
You must be signed in to change notification settings - Fork 715
fix: cloud org related fixes #9416
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
Merged
Merged
Conversation
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
Contributor
|
Failed to generate code suggestions for PR |
Contributor
Greptile OverviewGreptile SummaryThis PR implements comprehensive fixes for cloud organization management, focusing on billing restrictions, invitation workflows, and UI improvements. Key Changes:
Confidence Score: 4/5
Important Files ChangedFile Analysis
Sequence DiagramsequenceDiagram
participant Admin
participant Frontend
participant Backend
participant DB
participant Email
Note over Admin,Email: Invite User Flow
Admin->>Frontend: Send invitation
Frontend->>Backend: POST /api/{org_id}/invites
Backend->>Backend: Check billing status (free org restrictions)
Backend->>Backend: Validate email domain
Backend->>Backend: Check invitee not in another free org
Backend->>DB: Store invitation with generated token
Backend->>Email: Send invitation email
Backend-->>Frontend: Success response
Note over Admin,Email: Accept Invitation Flow
participant User
User->>Backend: PUT /api/{org_id}/member_subscription/{token}
Backend->>DB: Get invitation by token
Backend->>Backend: Check billing (user can't join multiple free orgs)
Backend->>DB: Add user to organization
Backend->>DB: Update invitation status to Accepted
Backend-->>User: Success
Note over Admin,Email: Decline Invitation Flow
User->>Backend: DELETE /api/invites/{token}
Backend->>DB: Update invitation status to Rejected
Backend->>DB: Get remaining pending invitations
alt No remaining invitations
Backend->>Backend: Create new org for user
end
Backend-->>User: Success with remaining count
Note over Admin,Email: Revoke Invitation Flow
Admin->>Frontend: Click revoke invite
Frontend->>Backend: DELETE /api/{org_id}/invites/{token}
Backend->>DB: Delete invitation by token
Backend-->>Frontend: Success
Frontend->>Frontend: Refresh member list
|
Contributor
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
22 files reviewed, no comments
YashodhanJoshi1
added a commit
that referenced
this pull request
Dec 10, 2025
This squashes the commits from the main PR (#9416) for the release branch. Signed-off-by: Yashodhan Joshi <[email protected]> Co-authored-by: Yashodhan Joshi <[email protected]>
Subhra264
approved these changes
Dec 10, 2025
commit 7d34c2b26b92ccdbc14a1859ed573af3eb376566 Merge: dd70a36 5d591fc Author: Yashodhan Joshi <[email protected]> Date: Wed Dec 10 14:20:15 2025 +0530 Merge branch 'main' into fix/cloud_orgs commit dd70a36 Author: omkark06 <[email protected]> Date: Tue Dec 9 11:50:42 2025 +0530 fix: signout if verifyuser api fails commit 93caae0 Author: omkark06 <[email protected]> Date: Tue Dec 9 11:26:43 2025 +0530 fix: logout user when organizations api fails with 403 commit 86e67c3 Author: omkark06 <[email protected]> Date: Mon Dec 8 18:12:22 2025 +0530 fix: fetch pending invites on login to check if invites exists commit c81a1e7 Author: sai nikhil kethe <[email protected]> Date: Mon Dec 8 13:24:31 2025 +0530 fix: ui unit test cases commit 0903865 Author: sai nikhil kethe <[email protected]> Date: Mon Dec 8 12:02:50 2025 +0530 fix: invitationList as per updated UI theme commit 6e45401 Merge: 4bdc0b4 5045e3a Author: Yashodhan Joshi <[email protected]> Date: Mon Dec 8 10:04:25 2025 +0530 Merge branch 'main' into fix/cloud_orgs commit 4bdc0b4 Merge: 40a21e1 6e857ea Author: Yashodhan Joshi <[email protected]> Date: Tue Dec 2 11:13:53 2025 +0530 Merge branch 'main' into fix/cloud_orgs commit 40a21e1 Author: Yashodhan Joshi <[email protected]> Date: Tue Dec 2 10:55:55 2025 +0530 fix: geenrate token in invite addition Signed-off-by: Yashodhan Joshi <[email protected]> commit 73a9236 Author: sai nikhil kethe <[email protected]> Date: Mon Dec 1 18:14:34 2025 +0530 fix: refresh the list after succesfull invite commit 37d0e78 Author: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Date: Mon Dec 1 12:41:28 2025 +0000 chore: update translations from en.json Auto-generated translation updates from English source file. 🤖 Generated with automated translation workflow commit 07d27a0 Author: sai nikhil kethe <[email protected]> Date: Mon Dec 1 18:11:02 2025 +0530 fix: revoke method added for invites commit 3200478 Author: Yashodhan Joshi <[email protected]> Date: Mon Dec 1 17:33:05 2025 +0530 fix: sent token in the invites api Signed-off-by: Yashodhan Joshi <[email protected]> commit d7ac784 Author: sai nikhil kethe <[email protected]> Date: Mon Dec 1 16:46:35 2025 +0530 fix: trail period message change commit 4cce5cd Author: sai nikhil kethe <[email protected]> Date: Mon Dec 1 16:27:14 2025 +0530 fix: should show the role in capital letter commit 99ec65e Author: sai nikhil kethe <[email protected]> Date: Mon Dec 1 16:22:25 2025 +0530 fix: show error if same email id sent for invite commit 237bac4 Author: sai nikhil kethe <[email protected]> Date: Mon Dec 1 16:18:39 2025 +0530 fix: shows search input , dedup emails ids commit 85ac4bd Author: sai nikhil kethe <[email protected]> Date: Mon Dec 1 15:13:25 2025 +0530 fix: merge conflicts in user.vue commit bc31ad7 Author: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Date: Mon Dec 1 09:42:15 2025 +0000 chore: update translations from en.json Auto-generated translation updates from English source file. 🤖 Generated with automated translation workflow commit 2b8a82a Merge: 0d7b2a2 4ecc550 Author: sai nikhil kethe <[email protected]> Date: Mon Dec 1 15:11:45 2025 +0530 Merge branch 'main' into fix/cloud_orgs commit 0d7b2a2 Author: Yashodhan Joshi <[email protected]> Date: Fri Oct 3 10:19:57 2025 +0530 fix: check domain on invite also Signed-off-by: Yashodhan Joshi <[email protected]> commit f8c47eb Merge: 193fd67 9d357d0 Author: Yashodhan Joshi <[email protected]> Date: Fri Oct 3 10:24:30 2025 +0530 Merge branch 'main' into fix/cloud_orgs Signed-off-by: Yashodhan Joshi <[email protected]> commit 193fd67 Author: omkark06 <[email protected]> Date: Mon Sep 22 11:14:51 2025 +0530 fix: removed empty tag commit b8299f7 Merge: d42f30a 83663f6 Author: Yashodhan Joshi <[email protected]> Date: Mon Sep 22 10:45:48 2025 +0530 Merge branch 'main' into fix/cloud_orgs commit d42f30a Merge: b65e868 d40b6af Author: Yashodhan Joshi <[email protected]> Date: Thu Sep 18 14:31:40 2025 +0530 Merge branch 'main' into fix/cloud_orgs commit b65e868 Author: omkark06 <[email protected]> Date: Fri Sep 5 16:25:14 2025 +0530 fix: Invitations in IAM commit f560b06 Author: Yashodhan Joshi <[email protected]> Date: Thu Sep 4 11:50:01 2025 +0530 fix: allow user to only be part of one free org via invitation Signed-off-by: Yashodhan Joshi <[email protected]> commit 7233af3 Author: Yashodhan Joshi <[email protected]> Date: Wed Sep 3 16:50:00 2025 +0530 feat: create new org for new user after all invitation decline Signed-off-by: Yashodhan Joshi <[email protected]> Signed-off-by: Yashodhan Joshi <[email protected]>
dd70a36 to
165e6b9
Compare
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.
Fixes for various p2 bugs and UI issues, some other functionality changes as well.
NOTE: because of some CLA issues, I have squashed all the original commits into a single one. There are no code changes compared to before.