Back

Preventing a team member from getting a list of all other team members.

  • 0
  • Users
  • Teams
  • Web
Osman
23 Jul, 2023, 07:56

Hello, is there a way to prevent team member read access to the endpoint, as shown in the image? I think it exposes too much information about other users in the team, and dont see why a user should have access to see information about other users. At least not in my use case. Thank you!

TL;DR
The user wants to prevent team members from getting a list of all other team members. They want to know if storing the user role in user preferences is a safe and sensible solution. The suggestion is to disable teams from the dashboard. The user also asks if there is a way to prevent team member read access to the endpoint, as they feel it exposes too much information about other users. No solution is provided in the thread.
D5
23 Jul, 2023, 08:33

Disable teams from dashboard

D5
23 Jul, 2023, 08:35

This will disable everything related to teams client side, but you will still be able to get everything server side and permissions will work to as if the user was in the team when it's enabled

Osman
23 Jul, 2023, 09:04

hmm okay, i need the roles for showing different role-based UI's on the client-side. Is it safe/sensible to just store the user role in the user preferences, for this sole purpose?

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more