We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 30025
    • 32 Posts
    I have pretty much been able to figure out security/permissions in Revo except for one thing. A user group that has permission to access a child resource but not the parent resource will not have the child resource show in the resource tree in the manager. To expound, I have the following resources:

    Parent 1
    Parent 2
    ++ Child 1
    ++ Child 2
    Parent 3

    Parent and child resource permissions are given to superusers (0).
    Child resource permissions under parent 2 are given to managers (5).

    Logging into mgr as a manager will not show the child resource. The child resources will only show in the resource tree to edit if permissions to Parent 2 have also been given to managers. It seems that there is a bug in the resource tree itself in the way it displays resources parent-child. I don’t think it can physically display the child if their is no permission to display the parent. I say this because if I enter the direct link (URL/manager/?a=30&id=4) with the id of the child resource I can edit the child resource. However, it will not show in the resource tree because the parent is not visible.

    Is there any way to fix this issue with the way the resource tree displays? I’m open to ideas...
      • 28215
      • 4,149 Posts
      Can you file that as a bug here: http://bugs.modx.com/

      Until then, you can use the ’tree_root_id’ setting (which will accept a comma-separated list of IDs) that will determine the Resources (rather, the parents) of what the user can see. You can add that as a User Setting for each user you want to restrict.
        shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
        • 3749
        • 24,544 Posts
        Wouldn’t giving the Managers access to the parent with just "load," "list," and "view" permissions do it (or maybe just load)?
          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
          • 30025
          • 32 Posts
          Can you file that as a bug here: http://bugs.modx.com/

          SplittinRed, I tried but cannot find the anywhere to register. I followed the registration link on the site you gave me and it brought me to the modxcms.com registration page. I registered and my username does not work in JIRA. How do I get registered so I can submit bugs?

          Wouldn’t giving the Managers access to the parent with just "load," "list," and "view" permissions do it (or maybe just load)?

          BobRay, this would work as a workaround for the time being, but it just takes more time and thought when putting together a site with many different groups and permissions. There are different things I can do in the meantime so the user group can access the child resources. Ideally I would like them to be able to see the resources assigned to them without having to view the parent at all. It might be wishful thinking but maybe it can be fixed.
            • 28215
            • 4,149 Posts
            Quote from: timharris777 at Sep 15, 2010, 02:32 PM

            Can you file that as a bug here: http://bugs.modx.com/

            SplittinRed, I tried but cannot find the anywhere to register. I followed the registration link on the site you gave me and it brought me to the modxcms.com registration page. I registered and my username does not work in JIRA. How do I get registered so I can submit bugs?
            It should work no problem in JIRA. What is your username?

              shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
              • 32070
              • 87 Posts
              There’s a similar issue that I’ve been experiencing in Evo. Not sure how much development time Evo is getting these days, but, I’ve had to give all of my editors permission to a mutual parent of each of their "sections" in order that they can SEE their resources, in the resource tree. I’d rather not give them permission to that parent at all, but I had to in order to make it work - so I prefixed the title with "DO NOT EDIT"

              Is that something worth filing as a bug as well?
                Des
                webandflowdesign.com
                • 28215
                • 4,149 Posts
                Yes.
                  shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
                  • 30025
                  • 32 Posts
                  Quote from: splittingred at Sep 15, 2010, 02:49 PM

                  Quote from: timharris777 at Sep 15, 2010, 02:32 PM

                  Can you file that as a bug here: http://bugs.modx.com/

                  SplittinRed, I tried but cannot find the anywhere to register. I followed the registration link on the site you gave me and it brought me to the modxcms.com registration page. I registered and my username does not work in JIRA. How do I get registered so I can submit bugs?
                  It should work no problem in JIRA. What is your username?



                  Just tried again and it allowed me to login with the username and password.

                  Filing this as a bug.
                    • 30025
                    • 32 Posts
                    Quote from: splittingred at Sep 14, 2010, 08:36 PM

                    Can you file that as a bug here: http://bugs.modx.com/

                    I have filed it as a bug: MODX-2336