We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 24629
    • 370 Posts
    Hi all
    My client gets a code:200 OK error when she opens the MODX resource browser, through the browse button in tinyMCE, to add a PDF to a link.
    Th strange part is that she can click the error away and link the PDF anyway.. it has something todo with media-sources i think
    Does anyone know which ACL permission could be responsible?
    i traced it back to a call to

    www.mydomain.com/conectors/index.php

    action: "source/getlist"

    Referer:"http://www.mydomain.com/manager/index.php?a=browser&ctx=web&wctx=web&source=2&id=33&referringAction=resource%2Fupdate&v=233pl"


    anyone knows what permission to grant??
    RDG
    [ed. note: rdaneeel last edited this post 11 years, 3 months ago.]
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      Could be the class_map permission.

      You can start with a duplicate of one of the existing Policies that works, then uncheck the permissions you don't want, checking every now and then to make sure it doesn't break.
        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
        • 24629
        • 370 Posts
        Hi Susan,
        the class_map permission is the first thing i tried. I was kinda hoping to avoid the trial and error proces.
        anyone else know which permission this could be?
        RDG
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          I see four permissions required in that file (core/model/modx/processors/source/getlist.class.php) source_edit, source_save, source_delete, and source_view.
            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
            • 28042 ☆ A M B ☆
            • 24,524 Posts
            Do you have the basic "list", "load" and "view" permissions checked?
              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