cal.pub0.org/packages/trpc/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
..
adapters Migrates all tRPC code to a monorepo package (#3484) 2022-07-22 11:27:06 -06:00
middlewares feat: Org settings - profile,appearance, child teams, create new child (#9231) 2023-06-15 10:27:39 -07:00
procedures perf: tRPC procedures and middleware refactor (#8419) 2023-05-09 19:27:05 +00:00
routers feat: Make Team Private 2023-07-06 11:55:12 +02:00
createContext.ts fix: [CAL-1765] opt-in: clicking "confirm" or "reject" broken (#9443) 2023-06-10 11:02:50 +00:00
createNextApiHandler.ts Webex integration (#7651) 2023-05-11 07:14:32 +00:00
index.ts Migrates all tRPC code to a monorepo package (#3484) 2022-07-22 11:27:06 -06:00
trpc.ts perf: tRPC procedures and middleware refactor (#8419) 2023-05-09 19:27:05 +00:00