You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now that the admin roles exist, we need to split the responsibilities of each admin
Super Admin:
access to task templates page and users page
can promote/demote any user including themselves
but if demoting themselves, can only do so if there is at least one other super admin. otherwise, super admin must first promote someone else to super admin (think Google docs owner permissions)
Where to start: admin.route.ts file and changing the isAdmin function to whichever admin can do that specific task
need to change the isAdmin function in auth.ts to now handle any admin type
The text was updated successfully, but these errors were encountered:
Now that the admin roles exist, we need to split the responsibilities of each admin
Super Admin:
The text was updated successfully, but these errors were encountered: