Support » Plugin: WP Security Audit Log » Admin locked out

  • Resolved joshkern

    (@joshkern)


    After going through the setup wizard, admins are locked out from viewing the log and updating the settings. How can I fix this?

    • This topic was modified 9 months, 2 weeks ago by  joshkern.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor robertabela

    (@robert681)

    Hello @joshkern,

    Thank you for using our plugin and sorry to hear you are encountering such issue. Could it be that restricted access to a specific user that is not yours?

    You can revert back access by follow the below procedure:

    1. Open the table wp_wsal_options using phpMyAdmin or a similar tool. This is the table where the plugin settings are saved.

    2. Find the following entries and delete them:
    2.a. wsal-plugin-viewers
    2.b. wsal-plugin-editors
    2.c. wsal-restrict-admins

    Once you delete these entries the plugin privileges will be restored to default – only admins will have access to the activity log.

    Can you please let us know if the above works for you?

    I had the same problem on two multisite installations. I was logged in as the superadmin at the time. Walked through the Wizard, found myself locked out of being able to update settings. I had to go into the database and fix it by hand. The wsal-plugin-editors field was null.

    • This reply was modified 9 months, 2 weeks ago by  vickita.
    • This reply was modified 9 months, 2 weeks ago by  vickita.
    • This reply was modified 9 months, 2 weeks ago by  vickita.
    Plugin Contributor robertabela

    (@robert681)

    Hello @joshkern and @vickita

    We have tested all scenarios and were never logged out. A few questions, maybe we can find if this is a technical or a user issue:

    1) Was this an update or a fresh install?
    2) Did you configure anything from the Access screen in the wizard?

    Looking forward to hearing from you.

    Hi @robert681,

    To be clear: the wizard didn’t log me out; it just removed the permission for the superadmin to access and change settings for the plugin. I was logged in as the network superadmin the entire time.

    For me this was an update; I run four multisite networks at my day job, and I had updated the plugin across the board. When I ran into the wizard the first time I thought I’d just run through it in case there was anything new, but the irony is that I didn’t change anything! But after I’d run it, I was locked out of settings.

    So, I ran the wizard the first time, because I wanted to see if there was anything new. But I had four sites with updated installs, right? So when I went to the second one to see if I still had access to the settings there, the wizard popped up, and I ran it a second time just to see if I had messed anything up. BOOM, locked out again. At that point, I stopped playing with it and dug into the database to restore my access. I did still have access on the two networks where I didn’t run the wizard.

    Generally speaking, shouldn’t the default be that the superadmin has access to the audit log settings ALL of the time? I understand wanting to allow or disallow site admins access (I have mine locked out, bless ’em) But locking out the superadmin seems like it’s just asking for tears.

    Anyway, having said all of this, I appreciate your plugin a lot. Thanks for your efforts!

    • This reply was modified 9 months, 2 weeks ago by  vickita.
    Plugin Contributor robertabela

    (@robert681)

    Thanks for taking the time to report this @vickita. I can actually confirm an issue with the wizard.

    When installed on multisite and the option “Restrict plugin access” is on, then for some reason you are being locked out.

    Will release a hot fix shortly and sorry for the inconvenience caused.

    Plugin Contributor robertabela

    (@robert681)

    Hello @joshkern and @vickita,

    We have just released version 3.2.3.2 which addresses the issue you reported. Sorry if this updated has caused any inconvenience and thank you very much for reporting this issue and being patient with us.

    Should there be anything else we can assist you with, please do not hesitate to ask.

    Have a good weekend.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Admin locked out’ is closed to new replies.