IMCE access issue with multiple assigned roles

Created on 27 February 2024, 10 months ago
Updated 7 May 2024, 8 months ago

I have three roles on Drupal 10.2.3:

Role A,
Role B,
Role C.

In the IMCE module, I created three profiles:

Profile A, which should have access to the folder main/A,
Profile B, which should have access to the folder main/B,
Profile C, which should have access to the folder main/C.

In the IMCE module:
I associated "Profile A" with "Role A" for both public and private files,
I associated "Profile B" with "Role B" for both public and private files,
I associated "Profile C" with "Role C" for both public and private files.

If I assign one of the above roles to a user, they have access in the IMCE file browser to the folder according to the assigned role. Unfortunately, if I assign more than one role to a user (two or three), for example, Role A and Role B, then in the IMCE file browser, the user only has access to the folder corresponding to the last assigned role. For example, if the user was assigned Role A, and then additionally receives Role B, instead of having access to folders A and B, they only have access to folder B.

Have you encountered such an issue?

Feature request
Status

Closed: duplicate

Version

3.0

Component

Code

Created by

🇵🇱Poland arael3

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024