Use Case: Suspending User Access

In an admin panel, you want to temporarily disable access for a user who has performed inappropriate actions in the system. The user should not be completely deleted; only their system access should be restricted.

Applying the Disable User Action

  • Element: ‘Disable User’ button
  • Trigger: OnClick
  • Action: Authorisation → Disable User
  • User Name: Using Current.email as the user email address is more appropriate for securely and accurately obtaining the identity of the logged-in user.

After this process:

  • The user cannot log back into the application.
  • Current roles are disabled.
  • The administrator can reactivate the user (e.g. with the Enable User action).