chore: Subdomain blacklist when creating org#9728
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
Thank you for following the naming conventions! 🙏 |
📦 Next.js Bundle Analysis for @calcom/webThis analysis was generated by the Next.js Bundle Analysis action. 🤖 This PR introduced no changes to the JavaScript bundle! 🙌 |
Current Playwright Test Results Summary✅ 98 Passing - Run may still be in progress, this comment will be updated as current testing workflow or job completes... (Last updated on 06/27/2023 08:31:45pm UTC) Run DetailsRunning Workflow PR Update on Github Actions Commit: d085a79 Started: 06/27/2023 08:29:54pm UTC
|
|
|
2 Test Cases Affected |
Test Case Results
| Test Case | Last 7 days Failures | Last 7 days Flakes |
|---|---|---|
|
pro user -- new-booker can reschedule a booking
Retry 1 • Initial Attempt |
1.67% (5)5 / 300 runsfailed over last 7 days |
6.67% (20)20 / 300 runsflaked over last 7 days |
|
pro user -- old-booker can reschedule a booking
Retry 1 • Initial Attempt |
3.72% (11)11 / 296 runsfailed over last 7 days |
5.07% (15)15 / 296 runsflaked over last 7 days |
pumfleet
left a comment
There was a problem hiding this comment.
Nice! Just added some more suggestions
Co-authored-by: Bailey Pumfleet <bailey@pumfleet.co.uk>
zomars
left a comment
There was a problem hiding this comment.
Should selfhosters modify this file if they don't want to blacklist?
Should we put these in a comma separated list in an env variable?
There was a problem hiding this comment.
Discarding changes to prevent conflicts with #9727
…update.handler.ts
|
|
Envs already set on Vercel as well |
|
Fixed unit tests. (my bad) |
Co-authored-by: Bailey Pumfleet <bailey@pumfleet.co.uk> Co-authored-by: Omar López <zomars@me.com>
What does this PR do?
When creating an organization, we shouldn't let users pick reserved subdomains such as docs, design, etc. This PR introduces a blacklist of subdomains to check before creating an org.
Type of change
How should this be tested?
Any user shouldn't be able to pick reserved subdomains as valid organization when creating one.
Mandatory Tasks