We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 44580
    • 189 Posts
    I want to create an editor id that logs into the manager (Revo 2.3), but is restricted to:

    • Accessing the Manage/Users functionality; and
    • Accessing a number of CMPs / menus to update custom database tables

    I do not want the user to be able to create/ edit resources, elements or files so the left hand panel should not be visible - nor should any of the other menus.

    I created a user, following Bob Ray's excellent (though is it still current?) guide: http://bobsguides.com/creating-manager-users.html as well as this: http://forums.modx.com/thread/?thread=14455&page=1.

    Unfortunately, I can't get past first base. The only way I can even log into the manager as my editor user is if I give it sudo access, which defeats the whole purpose. Without sudo, all that happens when I try to log in is it accepts the login without error, but does not proceed past the login page to the manager.

    I have cleared cache, been careful to use a completely separate browser from the one I'm logged in as, etc, etc. I'm baffled.
      • 3749
      • 24,544 Posts
      Take a look at the Context Access ACL entry for the Administrator user group ('mgr' context'). Make sure you have one just like it for the editor user's user group. Flush permissions and sessions after creating it.
        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
        • 44580
        • 189 Posts
        Thanks Bob. Not only did I check, but I removed everything except the user and did it all again. It is now working, but it did not initially. I cannot tell what combination of things made it work but deleting core/cache in the lead up to it "magically" working sure helped I think.

        I have gone through the permissions and removed all but 55 of the 172. In doing so I have almost achieved my intent of removing the LHS tree and all the menus except the CMPs I created (plus a few others).

        My problem is thus: I have removed the Manage/ Users menu when I want it left, and I still have the Extras menu when I do not want it. Do you happen to know which of the permissions I need to change or am I up for trial and error?
        • Looking at the Permissions setting for the top-level Manage menu item it requires 'menu_tools', and the Users menu itself has 'view_user'.

          The Extras menu needs 'components' permission.

          You can manipulate the individual menu item's Permissions settings, and even move individual items from being submenus to being top-level menus to create very specific menus.

            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
            • 44580
            • 189 Posts
            Thank you Susan - all fixed. It seems that the names of (at least) the menu permissions bear little relation to their actual names (something not updated as part of moving to 2.3 I assume). Given this, is it documented anywhere how to ascertain what permission goes with what function?
              • 3749
              • 24,544 Posts
              For future reference (and others who find this thread), if you go to the Menus section of the Manager, right-click on a menu item and select 'Update', you can see and change the permission necessary to see and access that menu item. I think any changes would be overwritten when you upgrade MODX, but I'm not positive about that.
                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
                • 44580
                • 189 Posts
                Thanks Bob. It's just a pity that so much good information can only be found in the forums and not in the RTFM. Or if the forum had a usable search capability...
                  • 3749
                  • 24,544 Posts
                  Shameless plug: There's a lot of that kind of information in my book. wink

                  FYI, searching like this with Google works very well:

                  site:forums.modx.com search phrase


                  site:bobsguides.com search phrase


                  Also, a generic search at Google can work pretty well:

                  MODX Revolution search phrase


                  Searching for MODX manager menu permissions turns up this page, which might have helped you (though it's a little outdated): http://bobsguides.com/hiding-top-menu-items-in-the-manager.html [ed. note: BobRay last edited this post 9 years, 3 months 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
                    • 44580
                    • 189 Posts
                    Never be ashamed to plug. smiley

                    I use Google exclusively to search but therein lies the problem. If you are a MODX expert and know what search term to use but just want to be reminded of the detail, that works well. If you are not, then even knowing what to search for is problematic. That's where comprehensive documentation is needed, so you can scan/ search and follow your nose until you find the topic.

                    Just my 2c worth.
                      • 3749
                      • 24,544 Posts
                      Good point. I remember my frustration when I started out with MODX. It's worse now with the divergence of Evo and Revo.

                      This reminds me of a cookbook I had with a great recipe for Hollandaise sauce made in a blender. It was called The Blender Cookbook, so every recipe was a blender recipe. I could never find the recipe in the index because I always looked under 'H' for 'Hollandaise'. It was in the index under 'B' for 'Blender Hollandaise'. wink
                        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