Added
- Temporary User Suspension: The ability to temporarily suspend user accounts via the new
SUSPENDED status has been introduced.
- Feature Description: A user with this status is blocked from accessing the panel. The status is reversible and can be changed back to
ACTIVE at any time.
- Technical Details:
- The
SUSPENDED status has been added to the User object model and as a query parameter in GET /users.
- The
PATCH /users/{userId} endpoint now handles status changes to and from SUSPENDED.
- The
POST /user-notification webhook sends notifications for this status change.
- Access Control: Users with either
SUSPENDED or INACTIVE status are now prevented from accessing the user panel.
- Model Enums: A new
REVIEW value has been added to the LegalRepresentativeStatusEnum.
Changed
- Model Enums: Changes have been made to existing Enum models.
- In
EntityValidationErrorEnum, the error code INVALID_INACTIVE_STATUS_UPDATE_ERROR has been renamed to INVALID_STATUS_UPDATE_ERROR.