We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 39519 ☆ A M B ☆
    • 79 Posts
    We are trying to create an access policy which allows the user to create new User Groups. We've got the permissions set up so they can create a new user group, but the system isn't letting them assign context access.

    The problem happens when they click "Create Context". They can load the context, and the minimum role, but the access policy just spins and goes blank. Inspect shows the server is responding with a "Permission Denied!".

    Here is there policy.

    about, access_permissions, change_password, change_profile, create, databases, delete_document, delete_user, directory_create, directory_list, directory_remove, directory_update, edit_category, edit_context, edit_document, edit_locked, edit_user, elementary_school_menu, empty_cache, file_create, file_list, file_manager, file_remove, file_tree, file_update, file_upload, file_view, frames, help, home, list, load, logout, menu_security, menu_tools, menu_user, messages, middle_school_menu, new_document, new_document_in_root, new_school_details, new_static_resource, new_user, new_weblink, policy_edit, policy_save, policy_template_save, policy_template_view, policy_view, publish_document, purge_deleted, remove, remove_locks, resourcegroup_edit, resourcegroup_new, resourcegroup_resource_edit, resourcegroup_resource_list, resourcegroup_save, resourcegroup_view, resource_duplicate, resource_quick_create, resource_quick_update, resource_tree, save, save_category, save_context, save_document, save_tv, save_user, search, sources, source_edit, source_save, source_view, steal_locks, tree_show_resource_ids, undelete_document, unpublish_document, usergroup_edit, usergroup_new, usergroup_save, usergroup_user_edit, usergroup_user_list, usergroup_view, view, view_category, view_context, view_document, view_offline, view_role, view_tv, view_user
      Mat Dave Jones
      • 3749
      • 24,544 Posts
      What happens if after creating the User Group, you flush permissions and sessions, then log back in before trying to create the Context Access ACL entry?

      Can you use the Wizard at the bottom of the Create User Group panel (assuming that your version of MODX is up to date)?

      What version of MODX?
        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
        • 39519 ☆ A M B ☆
        • 79 Posts
        We've had flushed everything and logged in/out a few times, but I just got it figured out.

        We had to re-open the user group we had created for them, open up the policy we created for them, and reselect it. After reselecting it, the policies refreshed on the list below, and everything worked again after saving. Seems strange, but apparently the policies weren't flushing correctly when we updated them.
          Mat Dave Jones
          • 39519 ☆ A M B ☆
          • 79 Posts
          ...btw, it is Revo 2.2.10
            Mat Dave Jones
            • 3749
            • 24,544 Posts
            I'm glad you got it sorted.

            BTW, you probably know this, but you should upgrade immediately. There is a critical security update in Version 2.2.13.
              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
              • 39519 ☆ A M B ☆
              • 79 Posts
              I've got the pl2 installed as a temporary fix until we can get through the Evo upgrades on our schedule. 100+ sites Bob...
                Mat Dave Jones