popemob1le
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. Recommended threads
- Update User Error
```ts const { users, databases } = await createAdminClient(); const session = await getLoggedInUser(); const user = await users.get(session.$id); if (!use...
- apple exchange code to token
hello guys, im new here 🙂 I have created a project and enabled apple oauth, filled all data (client id, key id, p8 file itself etc). I generate oauth code form...
- How to Avoid Double Requests in function...
I'm currently using Appwrite's `functions.createExecution` in my project. I want to avoid double requests when multiple actions (like searching or pagination) a...