We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 50971
    • 7 Posts
    Hi!
    I'm using MODX Revolution 2.3.5
    I created custom user group (and user in it), custom access policy, resource group and make settings according to MODx documentation.
    When I logged with that user and trying create new document I have following error:.
    Changing Resource Group Access and Context policy to standart MODx "Administrator" policy helps, but these policy has too many permissions and not suitable for me.
    The qestion is:
    how can I find out what permission this action "system/derivatives/getList" needs?


    P.S. I`m trying research MODx source files but it's overhelming without deep undestanding of architecture of MOdx...

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

    [ed. note: mikkabond last edited this post 11 years, 1 month ago.]
    • discuss.answer
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      I always end up making a copy of the Administrator policy, then start unchecking things I don't want. One thing that can cause that error is that the user needs to have the class_map permission 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
      • discuss.answer
        • 3749
        • 24,544 Posts
        Susan is correct (as usual).

        All the MODX processors are in core\model\modx\processors\, so the one you need to look at is: core\model\modx\processors\system\derivatives\getlist.class.php.

        Here's the relevant code:

        public function checkPermissions() {
           return $this->modx->hasPermission('class_map');
        }
          Did I help you? Buy me a beer
          Get my Book: MODX:The Official Guide
          MODX info for everyone: http://bobsguides.com/modx.html
          My MODX Extras
          Bob's Guides is now hosted at A2 MODX Hosting
          • 50971
          • 7 Posts
          Quote from: BobRay at Aug 28, 2015, 01:00 PM
          Susan is correct (as usual).

          All the MODX processors are in core\model\modx\processors\, so the one you need to look at is: core\model\modx\processors\system\derivatives\getlist.class.php.

          Here's the relevant code:

          public function checkPermissions() {
             return $this->modx->hasPermission('class_map');
          }

          Thanks Bob, that's just what I need smiley Actually I found this place too, but may be I confused with testing permission effect in different browser and flushing permissions...