Multiple roles and shared folders

AD-DA - July 9, 2008 - 15:49
Project:IMCE
Version:6.x-1.3
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs review
Description

In the current version, when a user has multiple roles with IMCE enabled, IMCE will only display the folder for the role with the highest priority (which is I believe the role with the role with the smallest ID.

This is logical for personal folders: this way ensure that a user only use a single personal folder.

However, for roles which are assigned to shared folders, a user should be able to contribute to all the shared folders for the roles which are assigned to them, especially have a personal folder, and be able to contribute to a shared folder.

Would it be possible to implement this?

#1

heltem - September 26, 2009 - 22:45
Version:5.x-1.2» 6.x-1.3

Is there a way to get it working ?

#2

heltem - September 26, 2009 - 23:54
Status:active» needs review

Here is a patch to merge all allowed directories from multiple assigned roles.

Permissions and allowed extensions are those from the smaller weight.

Please review

AttachmentSize
imce.module.patch 1.01 KB
 
 

Drupal is a registered trademark of Dries Buytaert.