SimpleIdServer icon indicating copy to clipboard operation
SimpleIdServer copied to clipboard

Possibility of Blocking/Unblocking Users Without Deletion

Open HappyRoot opened this issue 1 year ago • 2 comments

Hello,

First of all, thank you for the great work on this project! šŸ™Œ

Description: I was wondering if there is currently a way to block or unblock users without deleting them. This feature would be helpful for temporarily restricting user access while retaining their data and history.

Currently, we are using credential deletion as a workaround to achieve this functionality, but it would be great to have a dedicated mechanism for blocking and unblocking users.

Expected Outcome: A mechanism to toggle a user's status between "active" and "blocked." Blocked users should not have access to the system until they are unblocked. Additional Notes: If this feature already exists, I’d appreciate it if you could point me to the relevant documentation or guide on how to use it.

Thank you in advance! 😊

HappyRoot avatar Jan 28 '25 08:01 HappyRoot

Hello 😊

The concept of blocking a user already exists in the application. Currently, after several failed authentication attempts, an end-user's account is temporarily blocked for a certain period.

However, at the moment, it is not possible to manage a user's status through the administration website or via the REST API. Users can be blocked by setting the Status property to BLOCKED.

In a future release, I will make the following modifications to allow user status management:

  • Add a REST API operation to block/unblock users.
  • Update the administration website to allow blocking/unblocking users.

KR, SID

simpleidserver avatar Jan 29 '25 13:01 simpleidserver

@HappyRoot The feature is developed in the '6.0.0' branch. :)

simpleidserver avatar Mar 08 '25 19:03 simpleidserver