cal.pub0.org/packages/trpc/server/routers/viewer
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
..
apiKeys perf: tRPC procedures and middleware refactor (#8419) 2023-05-09 19:27:05 +00:00
apps chore: recategorize apps (#9306) 2023-06-28 18:22:51 +02:00
auth feat: email verification (#9081) 2023-06-07 07:27:48 +00:00
availability feat: allow duplicate availability (#9615) 2023-06-26 07:35:20 -04:00
bookings feat: Add new events to webhook BOOKING_CONFIRMED, BOOKING_REJECTED (#8884) 2023-05-30 15:35:05 +00:00
deploymentSetup perf: tRPC procedures and middleware refactor (#8419) 2023-05-09 19:27:05 +00:00
eventTypes fix: Few minor UI issues in Orgs (#9919) 2023-07-04 22:07:45 +02:00
googleWorkspace [Feat] Bulk Invite of Users + Google Workspace (#8969) 2023-05-24 01:01:31 +00:00
organizations fix: Creating team and preview URL fixes [CAL-1997] [CAL-1998] (#9648) 2023-07-03 08:06:12 +00:00
payments perf: tRPC procedures and middleware refactor (#8419) 2023-05-09 19:27:05 +00:00
slots feat: date range overhaul (#9802) 2023-07-05 09:47:41 -07:00
sso perf: tRPC procedures and middleware refactor (#8419) 2023-05-09 19:27:05 +00:00
teams feat: Make Team Private 2023-07-06 11:55:12 +02:00
webhook feat: disable workflows and webhooks for orgs + UI changes [CAL-1873] (#9504) 2023-06-26 06:37:59 -04:00
workflows feat: disable workflows and webhooks for orgs + UI changes [CAL-1873] (#9504) 2023-06-26 06:37:59 -04:00
_router.tsx feat: Organizations (#8993) 2023-06-14 21:40:20 +00:00
payments.tsx feat: add paid webhook (#8721) 2023-06-13 14:57:59 +00:00