Back

Custom Team/Roles/Permission Setup

  • 0
  • Self Hosted
  • Web
popemob1le
11 Sep, 2024, 13:51

I am building a designed admin panel with Nextjs and hoping to use Appwrite.

  • A Team acts as a parent to roles with permissions assigned to it
  • A Role is limited to the permissions of its parent Team or fewer
  • Users are assigned to Roles, not Teams
  • No user should be able to access Teams or Roles or invite other users without the correct permission
  • I want an Admin role that has access to everything, including all users regardless of Teams

Is this too much of a stretch to use the built in Teams service and should I look into making my own custom collections?

TL;DR
Developers creating admin panel with Nextjs using Appwrite want custom team/role/permission setup: - Team acts as parent to roles with permissions - Roles have limited permissions from parent Team - Users assigned to Roles, not Teams - Restrict access to Teams/Roles/invitations without permission - Require Admin role with full access It may be a stretch to use built-in Teams service; consider creating custom collections for more control.
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