Seeking a solution to implement a multi-level role system for my blog website. Currently utilizing Firebase Auth for authentication with email/password, but all users have the same posting/editing access. Looking to differentiate between Admins, Moderators, and Users, but roles are not part of the default Firebase User model.
Wondering how to transition my current setup to incorporate roles without having to start from scratch. Considering options like Firestore or Firebase Auth SDK, as well as the Identity Platform feature that I'm unfamiliar with.
Current tech stack includes:
- NextJS 13 (Javascript only) with integrated Next API (SSR)
- Deployed on Vercel
- Database split between Firebase Storage assets (images) and MongoDB