We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 42681
    • 64 Posts
    Is there any possibility to just give access for a user to 'error log' without giving access to 'manager log' in the Access Policy?

    In the Access Policy I only found the key 'logs' but this enables both (access to error log + manager log) to a user?

    Thanks a lot in advance!
      • 42681
      • 64 Posts
      Does nobody have an answer for this? :-(
        • 28042 ☆ A M B ☆
        • 24,524 Posts
        As far as I am aware, it's all logs or none.
          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
          • 3749
          • 24,544 Posts
          No, because it's a menu item, you can add a another permission to it in System -> Actions. If you right-click on the "Manager Actions" item (under Reports) in the right-hand tree and select "Update Menu," you'll see that the last field is "Permissions." It's set to 'logs' by default, but you can change that.

          If you set it to
          logs,access_permissions 


          for example, only users with both permissions could see the Manager Log.

          If necessary, you can create a custom permission for this, but it's a pain because you have to give yourself the new permission to keep from hiding the menu item from yourself. You need to add that permission to the Policy Template that affect you in the Manager. If it's the Administrator template, you'll have to duplicate it, add the permission to the duplicate, create a new Policy based on that Policy Template (making sure that you've given yourself the custom permission), and assign the duplicate Policy to yourself in your Context Access ACL entry. It's a lot easier if you can find a permission that's already in the Administrator Policy (not the Resource Policy -- those permissions don't apply to this case) that the user doesn't have.
          [ed. note: BobRay last edited this post 13 years ago.]
            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