Day 61/100:
Today I focused on:
✔️ Implementing Role-based guards for Admin & Users
✔️ Automatically assigning a default role during user creation
✔️ Secured delete endpoint to allow only Admins to delete users
#NestJS#BackendDevelopment#RoleBasedAccessControl#100DaysOfCode
@Mintbase has created a test moderator token which grants the owner the ability to some admin features on the site.
Cool use case, and definitely one that's a prototype for all sorts of things.
#RoleBasedAccessControl#RBAC for the new world.