We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 43303
    • 31 Posts
    I made a new user to access the modx CMS. But when i log in with that user, and then edit a template variable i get the following error: (i dont get this error with my normal admin)

    Code: 200 OK
    {"success":false,"message":"Permission denied!","total":0,"data":[],"object":[]}


    i installed the "MIGX Multilang" add-on. Maybe it has something to do with that.
    I can also just click "OK" and then it disappears, and then the rest works fine. But i just don't want this error to come up for my client..

    This question has been answered by sottwell. See the first response.

    • discuss.answer
      There are a couple of permissions that are necessary that your user doesn't have. Check the class_map permission.

      Quite often when I'm creating custom policies I end up making a copy of the Administrator policy, then unchecking permissions that I think I don't need, until I get it to work with just the permissions I do need for that policy.
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 49529
        • 196 Posts
        yellow89, I thought it was fixed in latest stable release. What version of MODX do you use?
          • 43303
          • 31 Posts
          2.3.2-pl

          and the class_map permission fixed it, thanks