10. Role-Based Access Control
Role-Based Access Control
Access is assigned based on job role, so users automatically get or lose permissions when they enter or leave that role.
How It Works
In simple words, if a user enters a role, the user gets assigned that role automatically. Once the user leaves, the role is unassigned and the permissions connected to it are removed.
Main Idea
RBAC makes access management easier by assigning permissions to roles instead of handling every user one by one.