📖Reading time: 2 min
<aside> 🛗 Modern control systems use "Users" and "Roles" for enhanced security and usability. Users represent individual system accounts, while Roles define specific permissions. Together, they ensure precise, secure access within the system.
</aside>
Table of Contents:
When dealing with modern control systems, flexible access control is often necessary for maximum security and usability. The introduction of "Users" and "Roles" concepts is aimed at achieving this. Let's delve deeper into what these concepts entail and how they interrelate.
A User is primarily an account in the system. Each User has a unique login and password, which allows each user to have individual access 🔐
Interesting enough, a user initially has no rights to use the system functionality. Visualize a User as an empty palette, ready to be filled with the necessary colors (permissions)🎨
A Role is a kind of template that enforces specific rights and restrictions. Instead of configuring access for each **User** individually, you can assign a pre-made Role such as "accountant" or "manager," each with its own access specifications.
Imagine that a **user** is a car that is ready to move. A role is the key that enables this car to travel at a certain speed and along particular routes. This interaction contributes to a seamless system where the User determines who is "driving," and the Role specifies how and where the "car" can move.