Actions
Story - new functionality #5
openEpic - New Feature #3: LSM - User acounts & login
LSM - Client and User Account Status Timelines
Description
The Status of Client and User Accounts is recorded in a Timeline.
This enables us to:
- keep record of history of the account's status
- set status change in the future
So the Status Timeline has a 1-many relation with the Account.
Attributes of the Status Timeline are:
- datetime
- statuscodeafter
The current status is computed by finding the statuscode record after the last change.
Statuscodes are different for different types of Accounts.
For Client Accounts the possible Statuscodes are:
- pending: when the CLient Account has been created, but no Subscription has been chosen yet
- active: when Client has a valid Subscription
- suspended: when Client has a valid Subscription but payment has been recharged or Subscription has not been paid.
- deactivated: when Subscription has been terminated. Termination of the Subscription can occur manually by Client or automatically after the grace period (2 weeks) after non-payment has expired
For User Accounts the possible Statuscodes are:
- active: when User may login to the platform
- blocked: when User may not login to the platform, but the account can be reactivated
- removed: when access for this User to the platform is terminated. The User Account only is kept for administrative purpose.
Actions