popemob1leOriginal post
Rank 1: Thread
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?
Summary
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.