Issue with Domain Suspension and User Permissions in Hestia Control Panel

Hello,

I am new to the Hestia Control Panel and currently testing it on a VM. During my tests, I discovered an issue where a regular user can unsuspend a domain that I had previously suspended as an administrator.

I came across a related discussion on the forum (Users can unsuspend domain), but it seems the issue remains unresolved.

While I am comfortable modifying code as suggested in that thread, I am concerned about the changes being overwritten during future Hestia updates.

Desired Behavior

I would like suspended users to be entirely locked out of the control panel, preventing them from taking any actions until their account is unsuspended. However, they should still be allowed to download backups of their sites if necessary.

Current Behavior

When a user account is suspended:

  • Suspended users receive the message, “You are logged out, please log in again,” upon attempting to log in.

When Domain is Suspended

  • Despite this, regular users can unsuspend their domains, which undermines the purpose of the suspension.

Questions

  1. Is there a way to enforce stricter restrictions on suspended users in the Hestia Control Panel?
  2. Are there alternative approaches to achieve the desired behavior?
  3. If code modification is the only solution, how can I ensure these changes persist through updates?

Thank you for your time and assistance!

Under “Settings” → Updates → Enable preview features

Save it and then under “Security Policies”

Disable and save the option: Allow suspended users to log in with read-only access (Preview)

And Enbale and save it again.

This should allow suspended users to login and download the tasks.

2 Likes

thank you for your time it worked :slight_smile:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.