Add ability to disable user account #2899

Open
opened 2026-02-05 05:40:04 +03:00 by OVERLORD · 9 comments
Owner

Originally created by @mlipok on GitHub (Jul 11, 2022).

Describe the feature you'd like

I have one employee which leave my company.
I need to set him as disabled.
I do not want to delete this account. As I still want to see all refereneced changes, and have possibility to restore him if he back to me.

Something like acccount deactivation should be possible.

The same to set Vacation mode to disable access for specific time period also should be possible.

Describe the benefits this would bring to existing BookStack users

It will be in line with the general direction of development of CRM / HelpDesk applications.

Can the goal of this request already be achieved via other means?

I do not think so.

Have you searched for an existing open/closed issue?

  • I have searched for existing issues and none cover my fundemental request

How long have you been using BookStack?

1 to 5 years

Additional context

none

Originally created by @mlipok on GitHub (Jul 11, 2022). ### Describe the feature you'd like I have one employee which leave my company. I need to set him as `disabled`. I do not want to delete this account. As I still want to see all refereneced changes, and have possibility to restore him if he back to me. Something like acccount deactivation should be possible. The same to set Vacation mode to disable access for specific time period also should be possible. ### Describe the benefits this would bring to existing BookStack users It will be in line with the general direction of development of CRM / HelpDesk applications. ### Can the goal of this request already be achieved via other means? I do not think so. ### Have you searched for an existing open/closed issue? - [X] I have searched for existing issues and none cover my fundemental request ### How long have you been using BookStack? 1 to 5 years ### Additional context none
OVERLORD added the 🔨 Feature Request label 2026-02-05 05:40:04 +03:00
Author
Owner

@ssddanbrown commented on GitHub (Jul 11, 2022):

Thanks for the request @mlipok.
I'd consider the "vacation mode" part somewhat as an extension of the core request to disable users, so I have updated the issue title to instead focus on the disabling part.

Describe the benefits this would bring to existing BookStack users
It will be in line with the general direction of development of CRM / HelpDesk applications.

This is not a benefit I'd generally accept as a driver for a feature, since this reasoning could be used to request many features that may be unsuitable, and I don't want to follow other systems for the sake of it. That said, I tihnk you've explained the benefits in the section above, which I'd summarise as: "Access could be easily disabled without loss of account references and metadata within the system".

Can the goal of this request already be achieved via other means?
I do not think so.

Depending on authentication method used, you could alter the email/name/auth-id/password of the user account to effectively prevent their login while retaining the account. Some careful considerations may be needed to ensure they can't use a recovery mechanism or an alternate auth method to regain access.

@ssddanbrown commented on GitHub (Jul 11, 2022): Thanks for the request @mlipok. I'd consider the "vacation mode" part somewhat as an extension of the core request to disable users, so I have updated the issue title to instead focus on the disabling part. > Describe the benefits this would bring to existing BookStack users > It will be in line with the general direction of development of CRM / HelpDesk applications. This is not a benefit I'd generally accept as a driver for a feature, since this reasoning could be used to request many features that may be unsuitable, and I don't want to follow other systems for the sake of it. That said, I tihnk you've explained the benefits in the section above, which I'd summarise as: "Access could be easily disabled without loss of account references and metadata within the system". > Can the goal of this request already be achieved via other means? > I do not think so. Depending on authentication method used, you could alter the email/name/auth-id/password of the user account to effectively prevent their login while retaining the account. Some careful considerations may be needed to ensure they can't use a recovery mechanism or an alternate auth method to regain access.
Author
Owner

@mlipok commented on GitHub (Jul 12, 2022):

I'd consider the "vacation mode" part somewhat as an extension of the core request to disable users, so I have updated the issue title to instead focus on the disabling part.

Yes. But in fact my intention was to have one or both feature.
Maybe I should make separate Request for "Vacation mode" ?

@mlipok commented on GitHub (Jul 12, 2022): > I'd consider the "vacation mode" part somewhat as an extension of the core request to disable users, so I have updated the issue title to instead focus on the disabling part. Yes. But in fact my intention was to have one or both feature. Maybe I should make separate Request for "Vacation mode" ?
Author
Owner

@mlipok commented on GitHub (Jul 12, 2022):

That said, I tihnk you've explained the benefits in the section above, which I'd summarise as: "Access could be easily disabled without loss of account references and metadata within the system".

This is in fact better descriptions. Thanks.

Depending on authentication method used, you could alter the email/name/auth-id/password of the user account to effectively prevent their login while retaining the account. Some careful considerations may be needed to ensure they can't use a recovery mechanism or an alternate auth method to regain access.

Ah. Thanks. I will try this.
However, this is a trick workaround ;)

@mlipok commented on GitHub (Jul 12, 2022): > That said, I tihnk you've explained the benefits in the section above, which I'd summarise as: "Access could be easily disabled without loss of account references and metadata within the system". This is in fact better descriptions. Thanks. > Depending on authentication method used, you could alter the email/name/auth-id/password of the user account to effectively prevent their login while retaining the account. Some careful considerations may be needed to ensure they can't use a recovery mechanism or an alternate auth method to regain access. Ah. Thanks. I will try this. However, this is a trick workaround ;)
Author
Owner

@Atmis commented on GitHub (Jan 31, 2023):

I second that request. We have someone who left the company, and we want to keep the references. So far, I have changed the user password with a random long and complex one, but it would be easier to just disable the user. We should then be able to filter the user list to only show active users.
Thank you for your fantastic work!

@Atmis commented on GitHub (Jan 31, 2023): I second that request. We have someone who left the company, and we want to keep the references. So far, I have changed the user password with a random long and complex one, but it would be easier to just disable the user. We should then be able to filter the user list to only show active users. Thank you for your fantastic work!
Author
Owner

@kassemz commented on GitHub (Apr 11, 2023):

Having this feature would be good.

Maybe add it as a able to login permission or something similar that can be added/removed from roles?

@kassemz commented on GitHub (Apr 11, 2023): Having this feature would be good. Maybe add it as a `able to login` permission or something similar that can be added/removed from roles?
Author
Owner

@Man-in-Black commented on GitHub (May 16, 2024):

I'm also stumbling across this feature, because some poeple left the company and I want to maintain their metadata. This would be very easy from the frontend if there is a checkbox "login enabled" or something like this.

@Man-in-Black commented on GitHub (May 16, 2024): I'm also stumbling across this feature, because some poeple left the company and I want to maintain their metadata. This would be very easy from the frontend if there is a checkbox "login enabled" or something like this.
Author
Owner

@AutoJunkie79 commented on GitHub (Oct 24, 2024):

Another vote here for this feature - we just got done with an internal audit on user access. The auditors were not super happy that there isn't a clear mechanism to demarc users that are active/disabled. We use SSO, so I've resorted to removing their external authentication ID (effectively preventing auth) and clearing out their user role mappings (showing in UI they are "disabled"). Our security policy requires us to disable users who have not logged in X days, but be able to quickly reactivate them should they need access again. Restoring their access is currently time-consuming and error-prone. Thank you!

@AutoJunkie79 commented on GitHub (Oct 24, 2024): Another vote here for this feature - we just got done with an internal audit on user access. The auditors were not super happy that there isn't a clear mechanism to demarc users that are active/disabled. We use SSO, so I've resorted to removing their external authentication ID (effectively preventing auth) and clearing out their user role mappings (showing in UI they are "disabled"). Our security policy requires us to disable users who have not logged in X days, but be able to quickly reactivate them should they need access again. Restoring their access is currently time-consuming and error-prone. Thank you!
Author
Owner

@mschoon85 commented on GitHub (Nov 13, 2024):

@ssddanbrown As mentioned in the support ticket, I’d like to add my vote for this feature as well. Thank you!

@mschoon85 commented on GitHub (Nov 13, 2024): @ssddanbrown As mentioned in the support ticket, I’d like to add my vote for this feature as well. Thank you!
Author
Owner

@SquareWaffles commented on GitHub (Apr 10, 2025):

@ssddanbrown is the ability to disable logins on the roadmap anytime soon? We are needing this functionality for compliance reasons.

@SquareWaffles commented on GitHub (Apr 10, 2025): @ssddanbrown is the ability to disable logins on the roadmap anytime soon? We are needing this functionality for compliance reasons.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#2899