cal.pub0.org/packages/lib/server
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
..
queries feat: Make Team Private 2023-07-06 11:55:12 +02:00
checkBookingLimits.ts chore: fix all Typescript warnings (#8618) 2023-06-06 11:59:57 +00:00
checkDurationLimits.ts chore: fix all Typescript warnings (#8618) 2023-06-06 11:59:57 +00:00
checkRegularUsername.ts feat: Organizations (#8993) 2023-06-14 21:40:20 +00:00
checkUsername.ts Refactors EE code (#3490) 2022-07-28 13:58:26 -06:00
defaultHandler.ts Bringing back sendgrid app to review (#5501) 2022-11-17 21:38:34 +00:00
defaultResponder.ts Bringing back sendgrid app to review (#5501) 2022-11-17 21:38:34 +00:00
getLuckyUser.ts Enforces explicit type imports (#7158) 2023-02-16 15:39:57 -07:00
getServerErrorFromUnknown.ts Upgrade prisma to 4.11.0 version (#7438) 2023-02-28 14:15:50 -07:00
i18n.ts chore: Sync packages mismatches (#9725) 2023-06-22 15:25:37 -07:00
index.ts [CAL-988] Limit total appointment time per day/week/month/year (#7166) 2023-03-10 21:00:19 +01:00
maybeGetBookingUidFromSeat.ts Seated booking rescheduling. (#5427) 2023-03-14 04:19:05 +00:00
perfObserver.ts Adding a bunch of performance markers (#6303) 2023-01-09 18:42:46 -07:00
resizeBase64Image.ts Preparations so public API can use tRPC procedures 2022-11-18 16:36:32 -07:00