We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 42492
    • 31 Posts
    Is the 'create' permission just a general case that covers every sub-permission? Can I have 'new_document' set to yes and have 'create' set to no?

    Thanks

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

    • discuss.answer
      • 3749
      • 24,544 Posts
      That's correct if you're talking about Context Access Policies (e.g. based on the Administrator Policy Template), but slightly backwards. If create is set to 'no' the user can't create anything anywhere, no matter what else you do. If create is set to 'yes', the user can only create things they have the specific permission for (new_document, new_snippet, etc.).

      There's also a 'create' permission in policies that apply to Resource Group Access and Element Category Access ACL entries. Those only apply to resources in a specific Resource Group or Elements in a specific Category.
        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