I like this module a lot. The following feature would make it easier for me to manage.

The suggestion is to create a new permission that would provide webfm admin ability only within the defined root directory for that role. I am especially interested in the ability to create subdirectories within the defined role root, and to organize files within that new directory structure.

Thank you.

Comments

Anonymous’s picture

+1 to this. I'm not familiar enough with the webfm code or I'd make a patch to make this happen.

fombas’s picture

I have exactly the same question. Being able to separate the admin permission for setting root directories from the permission to create folders (and add files / folders to the DB) is crucial to us. Anyone has a patch or idea on how to make this happen (even a temporary and possibly hardcoded fix would be extremely helpful). Thanks!

robmilne’s picture

Status: Active » Postponed

I cannot do this work at this time because of my schedule. I've rejected this same feature request in the past due to the amount of work required and my availability. If anyone has noticed, I've spent no time dealing with any issues for some time. I feel badly about this but paid work and family life take precedence. It would be nice if the official maintainer could help out but he probably consigns these issue notifications to email spam.

-rob

roball’s picture

Bad to hear nobody seems to have time for implementing this. IMO, this feature is urgently needed. Lots of users want to create sub directories under their root directory, but currently the only way to allow this is giving them full admin rights. Another solution might be to introduce a new permission "Create directories" which will of course only be possible below their role's root dir (and not below the module's root dir).

vacilando’s picture

Also in need of this. Subscribing.

MarcAtQuod’s picture

We made a patch to allow & manage the right to create directories at user level. To manage this right, go into webFM settings (Default File Permission) and activate the flag "Folders can be created/renamed/deleted by users".

This patch applies on last version (6.x-2.11).

Cédric, Léonard & Marc

roball’s picture

Thanks MarcAtQuod! The current maintainer, robmilne is going to quit maintenance of this module - do you want to take over it for now? Or how else can we get this patch committed?

Anonymous’s picture

Version: 6.x-2.10-rc4 » 6.x-2.11
Status: Postponed » Needs work

While the patch does work it doesn't apply cleanly. Also, cweagans appears to be the new maintainer. Would be nice to see this committed.

roball’s picture

Any chance to get this into CVS?

meichr’s picture

Thanks for the patch in #6, I've applied it and it works, though there are two improvements I think it needs before it should be committed:
1) the icons for scanning all files of the current folder or the recursive directory tree into the dataase are visible with the permission set for a user, but pressing it causes an error "permission denied". These two icons would have to be invisible or the permission being given for a proper user interface in my opinion.
2) I would rather put this permission to the other 4 webfm permissions under admin/user/permissions, so to be able to set this right per role.

roball’s picture

Having marked #536452: New PERM for "Create directories" as a duplicate if this issue.

dchatry’s picture

Hi, I really need this too. It would be nice to be able to set a "create folder" permission to specific roles.