WordPress.org

Ready to get started?Download WordPress

Forums

Advanced Access Manager
Remove Super Admin Role (6 posts)

  1. steve49589
    Member
    Posted 1 year ago #

    I installed the program after carefully reading that warning box. I looked through, but this plug in did not seem to have the features I was looking for. (Limit an author's ability to only post to a specific category.)

    I deactivated and uninstalled the plug in normally.

    The Super Admin role remains. How can that be removed? Are there any database tables added that can be removed?

    (Yes, I should have backed up, and I did 20 hours ago ... but I had a bunch of new people register for the site and I don't want to blow them away.)

    Thanks in advance.

    http://wordpress.org/extend/plugins/advanced-access-manager/

  2. funTranslator
    Member
    Posted 1 year ago #

    Hi Vasyl,

    i have the same problem.
    Is it posible that you include the option to create an superadmin.
    I think that's on interest of everybody.

    Just by the way. I'm one of them who paid for the Advanced Tool. So it would be nice if you answer soon.

    Regards,
    BJ

  3. rdmoore1000
    Member
    Posted 1 year ago #

    Yeah, this is super annoying, I hate it when plugins don't give the option to clean out what they did to the database (which most don't).

    Anyways, I did this and it worked for me. NO GUARANTEE!

    In the wp_usermeta table, copy the text in the meta_value field, and paste it somewhere (notepad) for safe keeping, in case this solution doesn't work (in which case you should put this back in the field).

    Then, in the database, replace that entry with:
    a:1:{s:13:"administrator";s:1:"1";}

    You should now be able to go to the users -> roles and delete the super-admin role.

  4. WP AAM
    Member
    Plugin Author

    Posted 1 year ago #

    Hi guys,
    Yeap, this is annoying. I understand you. Will take in consideration for next release.

    And just for record. I do not suggest rdmoore1000 as a good solution. This may work for simple WP installation. But if some plugin is using user/role capabilities it may break an access to that plugin.

    Regards,
    Vasyl

  5. Bart De Vuyst
    Member
    Posted 1 year ago #

    Easy fix for this because I had the same issue. Paste these two lines in functions.php. Afterwards you can delete them again.

    $wp_roles = new WP_Roles();
    $wp_roles->remove_role("super_admin");
  6. steheap
    Member
    Posted 1 year ago #

    Have others tried this - I've deactivated and deleted the AAM plugin, but the superadmin role is still there and the other admins have fewer access rights.

    I'm really worried about running this in case I lose access to the site!

    Steve

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.