Implementing Role-Based Access Control in mediTurn
Managing user permissions should not be an afterthought. In our recent work on the mediTurn project, we focused on establishing a robust foundation for user authentication and authorization by introducing a centralized User entity with structured role definitions.
Defining the User Domain
To ensure scalability, we decided to leverage Java's enum types to define user roles.