Posted by jleroi on August 14, 2009 at 9:24pm
| Project: | Filebrowser |
| Version: | 6.x-2.x-dev |
| Component: | Directory Listing Pages |
| Category: | bug report |
| Priority: | major |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
Is is possible to add the ability for an authorized user to delete files from a directory listing?
Comments
#1
+1
#2
This is in last (next) dev.
#3
Automatically closed -- issue fixed for 2 weeks with no activity.
#4
Hi,
This feature - while available, does not seem to be working. Has anyone had any luck with this?
#5
Thanks Yoran!
Haven't tried yet kvoltz. I'll test it out.
#6
I have a "Access denied" when a user is authenticate && authorized to delete a file/folder. But a success with the user->uid = 1
example.com/filebrowser/delete/10701?destination=/dir-list/testI used the dev-version as Yoran mentioned in #2
#7
Hook_menu is not using the proper constant for the file delete callback.
It is using FILEBROWSER_DELETE i.s.0 FILEBROWSER_DELETE_FILE.
You can change this in line 427:
'type' => MENU_CALLBACK,'access arguments' => array(
FILEBROWSER_DELETE_FILE
Remember to clear cache menu.
Here´s a patch (against the latest dev -so with the other issues still not corrected)
If it works OK, can you set the status to RTBC? Thanks
#8
Well done !!
#9
thanks clivesj :) It'll be in next dev.
#10
Automatically closed -- issue fixed for 2 weeks with no activity.