Permission endpoint to support different user roles (admin, editor and participant)
Should include:
- Env variables for hard coded permission/role passwords
- Authenticate all incoming requests based on Auth header
- /permissions endpoint -> returns what pages/features are enabled in the frontend
- Auth in API? Check fastify
Permission endpoint to support different user roles (admin, editor and participant)
Should include: