🔑Role-Based Access Control (RBAC)
Also known as RBAC, User Roles, Roles and Permissions
Each role, like admin or editor, gets a set of rights. Then people get roles.
Think of it like
Think of it like badges at a school. Teachers, pupils and guests can each go to different rooms.
Example
Lucy's blog has three roles. Writers can draft posts, editors can publish them, and only the admin can add new users.
Why it matters
It keeps permissions tidy as a team grows. Hundreds of people can be managed with a handful of roles.
Definition
Common mistake
Key takeaways
- 1Permissions to roles. Roles to people.
- 2Few roles. Admin, editor, viewer.
- 3Change the role. Not each permission.