RBAC (Role-Based Access Control)
PronunciationAR-bak
Definition
Giving permissions to roles (Admin, Editor, Viewer) and assigning users to roles, instead of setting permissions user by user.
Where you hear it
Admin panels, SaaS products, and security reviews.
Examples
Only the Admin role can delete invoices.
We use RBAC, so we change the role, not every user.
The Viewer role can see the reports but cannot change any settings.
Common mistake
Writing if user.role == "admin" everywhere. Keep permission checks in one central place.
Don't confuse with
RBAC is often mixed up with ABAC (Attribute-Based Access Control). RBAC grants permissions based on static roles assigned to a user, while ABAC makes access decisions dynamically based on user attributes, resource properties, and environmental conditions.
Say it at work
- In a meeting or chat
Let's use RBAC for the new dashboard so we don't have to manage user permissions individually.
- In an email or ticket
Please update the RBAC configuration to add a new manager role with approval permissions.