The Roles & Capabilities feature in CompressX Pro allows administrators to control which users or roles can access specific CompressX functionality. This helps improve security and ensures users only see features relevant to their responsibilities.
How to configure Roles & Capabilities in CompressX Pro
Overview
Using this feature, you can:
- 1. Assign CompressX permissions by role (Administrator, Editor, Author).
- 2. Designate a Super Administrator.
- 3. Control access to individual CompressX features such as Image Optimization, CDN Integration, and License management.
Step 1: Access Roles & Capabilities Settings
- 1. Log in to your WordPress Admin Dashboard.
- 2. In the left-hand menu, click CompressX.
- 3. From the CompressX submenu, select Roles & Capabilities.
You will see:
A list of users and roles on the left panel
Feature permissions on the right panel, which appear after selecting a role or user
Step 2: Select a User or Role
- 1. In the left panel, choose one of the following: Administrator, Editor, Author.
- 2. Click Edit next to the role you want to configure.
Once selected, the permissions panel will appear on the right.
Step 3: Configure Administrator settings
- 1. Enable “Set the current administrator (root) as the super administrator” to grant full access.
- 2. The Super Administrator has unrestricted control over all CompressX features.
Recommendation
This is recommended for site owners or primary administrators.
This is recommended for site owners or primary administrators.
Step 4: Assign Feature Permissions
For the selected role or user, enable or disable access to the following features:
- 1. Image Optimization
Allows access to image compression and optimization tools. - 2. Global settings
Grants permission to modify global CompressX configuration. - 3. Thumbnails ReGen
Allows regenerating image thumbnails. - 4. Watermark
Enables access to watermark configuration and processing. - 5. CDN Integration
Allows configuration of CDN providers such as Cloudflare. - 6.Thumbnails Deletion (JPG and PNG)
Permits deletion of generated image thumbnails. - 7. System Information
Allows viewing system and diagnostic information. - 8. License
Grants access to license activation and management. - 9. Media Library
Enables CompressX actions directly within the WordPress Media Library.
Step 5: Save Changes
- 1. After configuring permissions, click Save and Close.
- 2. The selected permissions are applied immediately.
Recommendations
1. Grant License and CDN Integration access only to trusted administrators.
2. Assign Image Optimization and Media Library permissions to Editors if they manage content.
3. Use Super Administrator only when full control is required.
4. Review permissions regularly on multi-user sites.
1. Grant License and CDN Integration access only to trusted administrators.
2. Assign Image Optimization and Media Library permissions to Editors if they manage content.
3. Use Super Administrator only when full control is required.
4. Review permissions regularly on multi-user sites.
Notes
1. Changes apply per role and affect all users assigned to that role.
2. Permissions do not override WordPress core role restrictions.
3. Incorrect permission settings may limit access to critical features.
1. Changes apply per role and affect all users assigned to that role.
2. Permissions do not override WordPress core role restrictions.
3. Incorrect permission settings may limit access to critical features.






