Creating a New Resource Group

At present, there is no simple way in MODX Revolution to apply security restrictions to individual resources. All security restrictions apply to resource groups, so protecting a resource means that you have to create a resource group, add the resource to it, and create security permissions for that resource group.

The general method of protecting resources is to associate a specific Resource Group with a specific User Group

Here are the steps for creating a new Resource Group:

  1. Go to Security | Resource Groups
  2. Click on the "Create Resource Group" button
  3. Enter a name for the Resource Group
  4. Click on the Save button in the dialog

To place resources in the Resource Group:

  1. Click on the little triangle next to the Web icon to expand the tree on the right
  2. Expand the other parts of the tree as necessary to see the appropriate resources
  3. With the mouse, drag a resource or folder from the tree on the right and drop it on the Resource Group in the tree at the left.
  4. Repeat as necessary

Tip: Be careful not to left-click on a resource in the tree at the right or you'll end up editing it on the Create/Edit Resource panel. If that happens, use the "back" button in your browser to return to the Resource Groups panel.

Security Resources at Bob's Guides


My book, MODX: The Official Guide - Digital Edition is now available here. The paper version of the book may still be available from Amazon.

If you have the book and would like to download the code, you can find it here.

If you have the book and would like to see the updates and corrections page, you can find it here.

MODX: The Official Guide is 772 pages long and goes far beyond this web site in explaining beginning and advanced MODX techniques. It includes detailed information on:

  • Installing MODX
  • How MODX Works
  • Working with MODX resources and Elements
  • Using Git with MODX
  • Using common MODX add-on components like SPForm, Login, getResources, and FormIt
  • MODX security Permissions
  • Customizing the MODX Manager
  • Using Form Customization
  • Creating Transport Packages
  • MODX and xPDO object methods
  • MODX System Events
  • Using PHP with MODX

Go here for more information about the book.

Thank you for visiting

  —  Bob Ray