We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 47690
    • 22 Posts
    Hello all,

    I've followed Bob Ray's guide for setting up access control in MODX 2.3.2. I have a blog implemented in Articles that's all our bloggers are allowed to see.

    I thought I had the permissions set correctly, but the bloggers are seeing this when then open any of the blog posts:

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

    This doesn't seem to be stopping them from saving changes to the posts. I have no idea what is causing this. The permissions I gave the bloggers are based on Content Editor, with some additional permissions to allow them to see the Files tab and upload images to a directory.

    Can someone tell me what I've done wrong, or where to start looking to troubleshoot this?

    Thank you so much in advance!

    This question has been answered by multiple community members. See the first response.

    • discuss.answer
      Check to make sure the policy has the 'class_map' permission.
        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
        • 47690
        • 22 Posts
        Thanks so much, sottwell! Yes, class_map is selected in the policy.
        • discuss.answer
          • 47690
          • 22 Posts
          ...ah, but you pointed me in a good direction. I found a post (http://forums.modx.com/thread/?thread=92206&page=3) that pointed out the culprit: view_user needed to be selected as well. This appears to have fixed it.

          Thank you again for the help!!