How To Assign Different Folders for the Same User Role in Settings | CodeConfig
CodeConfig File Manager for Dropbox logo

Integrate Dropbox

45
Getting Started
Purchase and License
Media Library
Private Folders
Auto Synchronization
WooCommerce
Advanced Custom Fields
Tutor LMS
MasterStudy LMS
Contact Form 7
Page Builder Integration
Elementor
File Browser
Shortcode Builder
Others

How To Assign Different Folders for the Same User Role in Settings

The File Manager for the Dropbox plugin enables assigning different folders to users, even if they share the same role, using a single shortcode.
Note: You must specify folders for individual users in the user access settings. Follow the steps below for detailed instructions:

  1. Set up a shortcode with role-based access and select either parent folders or all folders.
  2. Assign specific folders to individual users and ensure the “Force to show selected folders only” option is enabled.

Step 1: Create a Shortcode with User-Role Access

To start, create a shortcode for the specific folders or all files and folders. Privacy is maintained, as users can only access their assigned folders when the force option is enabled.

  1. Create a shortcode and navigate to the “Permission” tab.
  2. Select the role(s) for access and complete the setup.

user role

Step 2: Assign Specific Folders to Each User

After setting up the shortcode, assign folders to individual users. Ensure the “Force to show selected folders only” option is checked for restricting access.

  1. Navigate to Dashboard > Settings > User Access.
  2. Click the Add New button and go to the “User” tab.
  3. Search for the user by username or display name and select them.
  4. Assign the desired folder to the user.

Assign Specific Folders to Each User

Important Notes:

User-specific permissions always override role-based permissions.

If a user is denied access to a folder at the role level but granted access at the user level.

Force to Show Selected Folders Only checkbox ensures users or roles cannot browse outside their assigned folders, enhancing security. You can mix and match permissions between roles and users for highly customized folder access.

Force to Show Selected Folders Only

By following these steps, you can effectively assign and manage folder access for users with the same role while ensuring they only see their designated folders.