-
Notifications
You must be signed in to change notification settings - Fork 215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement new Account State Suspended
#2497
Comments
Requirements for this issue:
|
Hi @gvagenas , can I start investigating and do the implementation for this enhancement? |
Hi @gvagenas , when an account is But what if one of his Sub-Accounts was already in In my opinion, we should keep the already suspended sub-account not change. I think that we should add one column in database as in below to save the previous state of an account. When an account is from
When an account is from
|
@ddhuy if I understand correctly what @gvagenas had in mind, we would not have to change the status of the sub-accounts themselves. the requirement he has listed (that "Account and Sub-Accounts cannot login") can simply be implemented in our authorization logic. this way, when we have to decide if a user is allowed to login, we can add the additional check of whether (one of) their parent accounts is This way, we don't have to modify status of sub-accounts. @gvagenas wdyt? |
@gsaslis , Thank you for the explanation. I understand it now so I will continue with the implementing. |
Currently we can only update an account to
Closed
state, which means all related resources (DIDs, Clients etc) will be removed and Account will be inactive.From this state there is no way to get back to Active.
For this reason we need to implement the
Suspended
state which means, Account and account's resources (DIDs, Clients etc) cannot operate but are not deleted. At any time aSuspended
account can move to eitherActive
orClosed
stateThe text was updated successfully, but these errors were encountered: