User Only Gets Permissions From A Single IMCE Profile

Created on 8 May 2012, over 12 years ago
Updated 19 February 2024, 9 months ago

I have run into a simple bug with IMCE profile permissions. It seems that users with multiple user roles are not getting all the associated IMCE permissions from their multiple IMCE profiles.

I have many different types of users on my site, so there are several roles that can be assigned which add permissions as appropriate for each user.

I had initially just left my whole "files" system open to all users of a certain permission level, but now am finding that that is too open and risks users messing around with files that they shouldn't have access to, so I created an IMCE profile to match each user role, making the assumption that all the permissions would be additive, just like for the core User module (each new role you are assigned gives you the additional permissions associated with that role). Makes sense, right?

Unfortunately, it seems IMCE ignores all but one of the profiles for each user (i.e. you only get the permissions from one of your IMCE profiles)

I've had to go with an ugly solution for now, but I'm surprised that this bug still exists in a module that is so mature. Seems like basic permissions functionality :) Anyway - there you go.

🐛 Bug report
Status

Closed: works as designed

Version

1.5

Component

Code

Created by

🇨🇦Canada doomdahdoomdoom

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024