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.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | webfm.module.patch | 867 bytes | robmilne |
Comments
Comment #1
robmilne commentedYou 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.
Comment #2
robmilne commentedHere is the patch to prevent the creation of redundant trees for users with multiple roles that have a common root directory:
Comment #3
robmilne commentedThis patch is part of the 5.x--2-2 release.