User Role Restrictions
Last updated
Last updated
The User Role Restrictions tab allows you to set specific permissions and restrictions for different user roles.
Below is a detailed description of each setting option in the User Role Restrictions tab.
User Role Restrictions Options
If User Role is
Description: Select the user role you want to configure restrictions for.
Options: Dropdown menu with available user roles (e.g., Editor, Author, Contributor, etc.).
Action: Select the user role from the dropdown menu.
Disable command
Description: Choose which file management commands to disable for the selected user role.
Options: mkdir (create directory), mkfile (create file), rename, duplicate, paste, archive, extract, copy, cut, edit, rm (remove), upload, search, download etc.
Root Path for this User Role
Description: Define the root path for file access specific to the selected user role.
Default Path: This is the default root path.
Example Path: To set the root path access to the wp-content
folder.
Files URL for this User Role
Description: Set the URL where files can be accessed by the selected user role.
Default Path: This is the default file URL path for User roles set.
Enter folder or file paths that you want to Hide
Description: Specify the folders or files that you want to hide from the selected user role.
Format: Multiple paths separated by a vertical bar (|
).
Example: themes/twentytwenty | themes/avada
Action: Enter the paths of the folders or files to hide in the text field.
Enter file extensions which you want to Lock
Description: Specify the file extensions that the selected user role cannot modify.
Format: Multiple extensions separated by a vertical bar (|
).
Example: php | png | css
Action: Enter the file extensions to lock in the text field.
Enter file extensions which user can be Uploaded
Description: Define the file extensions that the selected user role is allowed to upload.
Format: Multiple extensions separated by commas.
Example: php, png, css
Action: Enter the file extensions that can be uploaded in the text field. Leave empty if the user role is not allowed to upload any files.
Save Changes.