User Groups
Defining permission sets and access controls for administrative roles in OpenCart 4
Introduction
User Groups are the foundation of OpenCart's permission system. They allow you to create customized permission sets that control exactly what each administrative user can see and do in your store's backend. Instead of giving every staff member full access, you can define roles like "Sales Manager", "Content Editor", or "Order Processor" with specific, limited permissions.
Accessing User Groups
User Group Interface Overview

Permission Structure
User group permissions are organized into two main categories:
Extension-Specific Permissions
Many extensions add their own permission categories. For example:
Payment Extensions: Configure payment methods
Shipping Extensions: Set up shipping options
Marketing Extensions: Manage coupons, affiliates, etc.
Analytics Extensions: View reports and statistics
Creating a Custom User Group
To create a role-based permission set (e.g., "Content Manager"):
Navigate to System → Users → User Groups and click Add New.
Enter a descriptive User Group Name (e.g., "Content Manager").
In the Permissions section, expand the categories to select specific permissions:
Under Access, check Catalog to allow viewing products and categories.
Under Modify, check Catalog to allow editing products and categories.
Consider adding Extensions → Modifications access to view OCMod changes.
Review extension-specific permissions if needed.
Click Save. You can now assign users to this new group.
Common Tasks
Setting Up a Sales Representative Role
To create a user group that can process orders but not change store settings:
Create a new user group named "Sales Representative".
Grant Access permissions for:
Dashboard (to see the main screen)
Sales (to view orders, customers, etc.)
Extensions (to see installed extensions)
Grant Modify permissions for:
Sales (to process orders, update statuses, etc.)
Do NOT grant any System permissions (to prevent changes to settings).
Save and assign sales staff to this group.
Creating a Read-Only Auditor Role
For users who need to view data but not make changes (e.g., accountants, managers):
Create a user group named "Auditor" or "View Only".
Grant Access permissions for all areas they need to monitor:
Dashboard, Catalog, Sales, System
Do NOT grant any Modify permissions.
Save and assign users to this group.
Cloning an Existing User Group
To create a new group similar to an existing one:
Edit the existing user group you want to clone.
Note down all the checked permissions.
Create a new user group with a different name.
Check the same permissions as the original group.
Make any necessary adjustments.
Save the new group.
Best Practices
Troubleshooting
"Well-designed user groups transform your admin panel from a potential security risk into a finely tuned control panel, where each team member has exactly the tools they need—and nothing more."
Last updated