We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 34351
    • 3 Posts
    First post, modx noob smiley

    I think i accidentally removed the only user (the super admin user) from the Administrator user group. And that means i don’t have access to the manager anymore domain.com/manager.

    After i log in to /manager i am redirected to ... /manager and i get this error:

    "Permission denied!

    You do not have the proper access policy permissions to view this page. If you feel this is in error, please contact your systems administrator."

    I would like to add the right permissions to this admin user through phpmyadmin to give that super user access to, well everything, again.

    What tables would i need to edit to accomplish this?

    I am using modx Revolution.
    Also, blockeduntil on user_attributes is set to 0 so that should’nt be a problem.
      • 34351
      • 3 Posts
      I meant to say user_attributes blockeduntil is set to 0 so that SHOULDN’t be a problem.. smiley
        • 34351
        • 3 Posts
        Solved my problem.

        the table i was looking for was

        member_groups where i needed to add my user (1) to member column to the user_group 1 (administrator) with role 2 (admin)

        I also emptied the sessions table and removed all of my cookies.

        Hopefully someone finds this useful...
          • 17959 ☆ A M B ☆
          • 57 Posts
          Magnatron [Maarten Wolzak] Reply #4, 15 years ago
          Antte!!!
          you solved my problem as well.

          So glad you came back to answer your own question smiley

          thanks,

          Maarten
            • 37143
            • 74 Posts
            Hi, I think I am having a similar issue, but am not sure since a third party user went in and messed around....can you take a look at my screenshot and let me know if this is correct settings, or which need to change?

            Thanks for any comments/help....