Hi,

On this last release I noticed changes with webFM and roles.
Certainly it looks more flexible, so thanks for the improvement, but now I'm unable to offer webFM to my users in the way I did before (same files/documents folder for everybody).

My drupal site plays with some different roles, and now a subdirectory is requested for every role or a message like this is shown:

"root directory not set for authenticated user role root directory not set for Editor role"

Looks like a preliminary workaround is setting webfm root to /files/whatever
and after this, pointing every role to /files/whatever/whatever

But it means I need to move all my documents and this double directory don't looks nice.

Is there any other solution to fix this?

I saw a post more or less related with this issue (i.e: http://drupal.org/node/188439) but nobody comments this... so I'm concerned is not a bug, and it's my ignorance.

Thanks for your great work,

m.

CommentFileSizeAuthor
#2 webfm.module.patch867 bytesrobmilne

Comments

robmilne’s picture

You are right that you will need to move your directories into the /files/whatever/whatever directory if they all want to share the same files.

One bug that I should fix is the case where a user is a member of two roles with a common root directory. In this case the user sees two identical root directories listed on the left. A simple patch to prevent this redundancy is forthcoming.

robmilne’s picture

StatusFileSize
new867 bytes

Here is the patch to prevent the creation of redundant trees for users with multiple roles that have a common root directory:

robmilne’s picture

Status: Active » Closed (works as designed)

This patch is part of the 5.x--2-2 release.