user_management.domain.enums package
Submodules
user_management.domain.enums.user_role module
Defines the roles that a user can have within the system.
Each role determines the user’s permissions and access level across application features. This enumeration supports consistent role management and enables role-based access control (RBAC).
- class user_management.domain.enums.user_role.UserRole(value)[source]
Bases:
EnumEnumeration of user roles in the system.
These roles define the scope of actions and data access for each authenticated user. Used throughout the domain to enforce authorization rules and tailor workflows.
- ADMINISTRATOR = 'ADMINISTRATOR'
- DOCTOR = 'DOCTOR'
- NURSE = 'NURSE'
- PATIENT = 'PATIENT'
user_management.domain.enums.user_status module
Defines the possible operational states of a user account within the system.
These statuses control access and determine whether a user can authenticate and interact with the application. Used for security, compliance, and workflow management.
- class user_management.domain.enums.user_status.UserStatus(value)[source]
Bases:
EnumEnumeration of user account statuses.
Represents the current lifecycle state of a user account, influencing authentication, permissions, and system behavior.
- ACTIVE = 'ACTIVE'
- INACTIVE = 'INACTIVE'
- LOCKED = 'LOCKED'
Module contents
Public API for domain enums. Import core enumeration types directly from this package.
- class user_management.domain.enums.UserRole(value)[source]
Bases:
EnumEnumeration of user roles in the system.
These roles define the scope of actions and data access for each authenticated user. Used throughout the domain to enforce authorization rules and tailor workflows.
- ADMINISTRATOR = 'ADMINISTRATOR'
- DOCTOR = 'DOCTOR'
- NURSE = 'NURSE'
- PATIENT = 'PATIENT'