• Resolved Howdy_McGee

    (@howdy_mcgee)


    Hello,

    When Maintenance Mode is enabled, I think all roles which have editing capabilities should have access, not just those with manage_options. Authors, Contributors, Editors, Shop Managers, SEO Managers, etc. It would be nice to see this capability lowered to something like edit_pages.

    Another option would be to allow a multi-select of roles that should have access (excluding Administrators since they will always have access).

    Another option would be to add in a Filter Hook so at least developers could intervene when necessary.

    The AIOWPS config options are filterable via get_option() but with how the plugin is loaded, the hook needs to be added via a MU Plugin requiring additional files like pluggable.php for common functions.

    It would be nice to have a more user-friendly and developer-friendly way to allow editing during Maintenance Mode.

Viewing 1 replies (of 1 total)
  • Plugin Support hjogiupdraftplus

    (@hjogiupdraftplus)

    Hi @howdy_mcgee

    Thanks for you suggestion, I will create internally a ticket for this to review and implement it.

    For now you could edit the code yourself in the file:

    wp-content/plugins/all-in-one-wp-security-and-firewall/classes/wp-security-wp-loaded-tasks.php

    On line 54, replace that line with the following:

    if (is_user_logged_in() && (current_user_can('manage_options') || current_user_can('edit_pages'))) {

    Note if the plugin updates that line will get reset.

Viewing 1 replies (of 1 total)
  • The topic ‘[Feature Request] Maintenance Mode Access’ is closed to new replies.