I installed the WebDAV module for the latest SVN Gallery version. Looks nice, however any user (even Guests) can see the "Mount with WebDAV" link. I really don't want Guests to be able to mount my Gallery and e.g. recursively download all files.
Maybe the module could add a permission so as G2 admin I can chose who is able to mount an Album (Everyone, Logged in, Admins, ...)
Nico
Posts: 32509
this sounds reasonable.
please file a feature request for it at http://sf.net/projects/gallery/ such that we can keep track of it.
meanwhile i'll notify jablko, the author of the module.
Posts: 21
Thanks for trying the WebDAV module, Nico! I also agree it's a good feature. I've thought a bit about how to make the "Mount with WebDAV" item link optional. I'll try to allow admin to limit WebDAV access. Maybe a "webdav.mount" permission?
Jack
Posts: 118
Yes, that would be nice. I don't want everybody to be able to mount my Gallery with WebDAV, so a webdav.mount permission would solve that! Thanks for this great module by the way!
Posts: 32509
an example:
the itemadd module does something in between since permissions seem overkill. just a module option configurable in site admin to enable it for everyone who has the appropriate permissions, only for registered users or only for admins.
Posts: 118
However, would be nice if this could be configured per-item. So one can permit WebDAV mounting for specific Albums only for example...
Posts: 32509
sure you need a per-album or even a per-item setting for that?
normal g2 view / add / edit / ... permissions would still apply.
this additional option would just mask them globally.
Posts: 1
Hi there, any update on this? I also need to deny the "webdav" permission to all users except admins. Using Gallery 2.2.2 I can't manage to find any obvious way to do it. Thanks!
Posts: 16
how could i remove WEBDAV link from menu?
Posts: 27300
Uninstall the webdev module.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 16
Could you teach me how to do that?
Thanks
Posts: 27300
1. login as admin.
2. click the 'SiteAdmin' link
3. click 'Plugins' on the left sidebar
4. in the Remote Interfaces section click the uninstall link next to the WebDav plugin.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 16
thanks! It works. Im just start using this system.