-
Notifications
You must be signed in to change notification settings - Fork 221
[dev] [Marfuen] mariano/dustin-fix #1904
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
base: main
Are you sure you want to change the base?
Conversation
PR SummaryAdds Stripe-based domain checks to auto-approve org access and limits the onboarding skip button to @trycomp.ai users.
Written by Cursor Bugbot for commit b07561b. This will update automatically on new commits. Configure here. |
Graphite Automations"Auto-assign PRs to Author" took an action on this PR • (12/11/25)1 reviewer was added to this PR based on Mariano Fuentes's automation. |
| }); | ||
| hasAccess = true; | ||
| } | ||
| } |
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.
Bug: Domain-based access grants for common email providers
The auto-approval logic in isDomainActiveStripeCustomer grants access based solely on matching the user's email domain with any Stripe customer's email domain. This means users with common email domains like gmail.com, yahoo.com, or outlook.com could gain unauthorized access to any organization they're a member of, if any existing Stripe customer uses the same email provider. The domain check doesn't verify the user actually belongs to the paying organization, only that someone with the same email domain has an active subscription somewhere.
This is an automated pull request to merge mariano/dustin-fix into dev.
It was created by the [Auto Pull Request] action.