We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28508
    • 73 Posts
    Hi guys,

    I know, it’s pretty simple: Right-click > "duplicate".
    But unfortunately I can’t give any user resource-group-acess with a duplicated access policy, because it’s not shown in the dropdown-field.
    All I can see are the MODx-standard-policies (although the duplicated policies are shown in Access Control > Access Policies).

    Maybe this is because I still don’t fully understand the difference between Access Policies and Policy Templates, but I’m not sure if this is really related to the problem.

    Does anybody have a hint for me?

    Thanks in advance,
    stetus
      • 11055 ☆ A M B ☆
      • 3,112 Posts
      Access Controls > User Groups >(right click) Update User Group?
        Rico
        Genius is one percent inspiration and ninety-nine percent perspiration. Thomas A. Edison
        MODx is great, but knowing how to use it well makes it perfect!

        www.virtudraft.com

        Security, security, security! | Indonesian MODx Forum | MODx Revo's cheatsheets | MODx Evo's cheatsheets

        Author of Easy 2 Gallery 1.4.x, PHPTidy, spieFeed, FileDownload R, Upload To Users CMP, Inherit Template TV, LexRating, ExerPlan, Lingua, virtuNewsletter, Grid Class Key, SmartTag, prevNext

        Maintainter/contributor of Babel

        Because it's hard to follow all topics on the forum, PING ME ON TWITTER @_goldsky if you need my help.
        • 28508
        • 73 Posts
        Hello,

        unfortunately that doesn’t help me.
        You’re describing the way how I get there, but when I’m in that menu, the duplicated policy isn’t shown in the dropdown-menu.
          • 3749
          • 24,544 Posts
          Those directions are not quite right. You want Security -> Access Controls -> Access Policies tab. Then right-click on a policy and select "duplicate."

          I definitely see that option (along with "Update Policy") in the drop-down menu in MODx 2.0.8.

          Are you logged in as the admin Super User?

          Is the Context Access ACL entry for the Administrators user group using the Administrator policy?

          Does the Administrator policy still have all the permissions checked?

          Did you remove any policies from the Administrator Policy template?

          Another possibility is that you were logged in as another user and the permissions didn’t get fully cleared before you logged back in as the admin.
            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
            • 28508
            • 73 Posts
            Hi Bob,

            thank you for answering.
            Those directions are not quite right. You want Security -> Access Controls -> Access Policies tab. Then right-click on a policy and select "duplicate."
            Yes, that’s working indeed. Maybe the subject of my post wasn’t chosen very clever, sorry for that.
            To make it clear: I can duplicate an access policy, just the way you described it.
            But I can’t use that duplicated policy anywhere, because it isn’t shown in the assign-window (Access Controls > Right click on User Group > "Update User Group" > Resource Group Access > Access Policy).

            Can somebody reproduce that?

            Thank you,
            stetus
              • 3749
              • 24,544 Posts
              Just to make sure, does that still happen if you flush permissions and sessions, delete all the files in the core/cache directory manually, and clear your browser cache and cookies?
                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
                • 28508
                • 73 Posts
                Thanks for your reply,

                I tried your suggestions just to be sure, unfortunately, they did’nt work sad.
                  • 3749
                  • 24,544 Posts
                  I think I may understand what’s going on. Policies (duplicate or not) are only shown in the situations where they are appropriate. If you duplicate the administrator policy, for example, it won’t show up when you create a Resource Group Access ACL entry because it’s the wrong kind of policy for that situation.

                  Can you say what policy your are duplicating and what kind of ACL entry you’re trying to use it on?
                    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
                    • 28508
                    • 73 Posts
                    I think I may understand what’s going on. Policies (duplicate or not) are only shown in the situations where they are appropriate. If you duplicate the administrator policy, for example, it won’t show up when you create a Resource Group Access ACL entry because it’s the wrong kind of policy for that situation.

                    That’s it! Sorry, I didn’t get that without your help.
                    Thank you!