cal.pub0.org/packages/prisma
Udit Takkar f755312ed7
feat: Make Team Private
## What does this PR do?

Fixes https://github.com/calcom/cal.com/issues/8974

1) When user is admin

<img width="1440" alt="Screenshot 2023-07-03 at 6 45 50 PM" src="https://github.com/calcom/cal.com/assets/53316345/ce15158f-d278-4f1a-ba2e-8b63e4274793">

2) When user is not admin and team is private

<img width="1440" alt="Screenshot 2023-07-03 at 6 47 15 PM" src="https://github.com/calcom/cal.com/assets/53316345/ce23560e-690a-4c42-a76d-49691260aa4d">

3) 
<img width="1440" alt="Screenshot 2023-07-03 at 6 51 56 PM" src="https://github.com/calcom/cal.com/assets/53316345/13af38f8-5618-4dae-b359-b24dc91e4eb4">


## Type of change

<!-- Please delete bullets that are not relevant. -->

- New feature (non-breaking change which adds functionality)

## How should this be tested?

1) go to Team members page and turn on switch Make Team Private.

Now after making the team private only admin would be able to see all the members list in the settings. There will not be a button to Book a team member instead on the team page like before.


## Mandatory Tasks

- [ ] Make sure you have self-reviewed the code. A decent size PR without self-review might be rejected.
2023-07-06 11:55:12 +02:00
..
client add an enum generator, stop importing from @prisma/client (#8548) 2023-05-02 13:44:05 +02:00
middleware Fixes formatted description in email + sanitize html everywhere (#7928) 2023-03-28 09:40:13 +00:00
migrations feat: Make Team Private 2023-07-06 11:55:12 +02:00
selects feat: Organizations (#8993) 2023-06-14 21:40:20 +00:00
zod Team webhooks (#8917) 2023-05-23 01:15:29 +00:00
.env Adds symlink to use DATABASE_URL from root 2022-08-12 11:23:30 -06:00
delete-app.ts One jest to rule them all (#3957) 2022-08-29 22:33:53 +00:00
docker-compose.yml Revert "Matches postgres image across projects" 2022-12-22 17:11:31 -07:00
enum-generator.ts add an enum generator, stop importing from @prisma/client (#8548) 2023-05-02 13:44:05 +02:00
index.ts Fixes formatted description in email + sanitize html everywhere (#7928) 2023-03-28 09:40:13 +00:00
package.json chore: Upgrades prisma to 4.16 (#9670) 2023-06-21 17:07:54 +02:00
schema.prisma feat: Make Team Private 2023-07-06 11:55:12 +02:00
seed-app-store.ts chore: recategorize apps (#9306) 2023-06-28 18:22:51 +02:00
seed-insights.ts add an enum generator, stop importing from @prisma/client (#8548) 2023-05-02 13:44:05 +02:00
seed.ts feat: Organizations (#8993) 2023-06-14 21:40:20 +00:00
zod-utils.ts fix: Exclude the possibility to book events with invalid email addresses (#9898) 2023-07-05 06:07:52 +05:30