Skip to content
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

Disable fax sending when domain is disabled #6606

Merged
merged 3 commits into from Apr 10, 2023

Conversation

emaktech
Copy link
Contributor

@emaktech emaktech commented Apr 6, 2023

Similarly to disabling extension registration and other functions, fax server sending should also be disabled for disabled domains. This prevents users from being able to send a fax and adds a warning message saying that sending is disabled.

Disabling of sending on disabled domains is accomplished in 2 ways:

  • Preview and Send buttons are not rendered on the fax_send.php page
  • POST data is not captured to prevent users from injecting the button back and completing the send that way

We have done regression testing to ensure that this does not break sending for users, admins or superadmins on domains which are still active.

Example of sending disabled

sending-disabled-example

emak added 3 commits April 6, 2023 16:50
Add styles for .warning_bar class when fax server sending is disabled due to disabled domain.
When domain is disabled, users should not be able to send faxes either.
@markjcrane markjcrane merged commit 800e742 into fusionpbx:master Apr 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants