WebDAV: Permissions?

nicokaiser

Joined: 2004-10-04
Posts: 118
Posted: Thu, 2006-11-16 19:03

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

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2006-11-17 13:38

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.

 
jablko

Joined: 2004-03-23
Posts: 21
Posted: Fri, 2006-11-17 17:23

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

 
nicokaiser

Joined: 2004-10-04
Posts: 118
Posted: Fri, 2006-11-17 18:51

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!

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2006-11-17 22:30

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.

 
nicokaiser

Joined: 2004-10-04
Posts: 118
Posted: Fri, 2006-11-17 23:29

However, would be nice if this could be configured per-item. So one can permit WebDAV mounting for specific Albums only for example...

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2006-11-17 23:46

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.

 
jbq

Joined: 2007-08-03
Posts: 1
Posted: Fri, 2007-08-03 13:15

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!

 
otaner

Joined: 2010-02-12
Posts: 16
Posted: Fri, 2010-02-12 02:33

how could i remove WEBDAV link from menu?

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Fri, 2010-02-12 04:39

Uninstall the webdev module.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
otaner

Joined: 2010-02-12
Posts: 16
Posted: Fri, 2010-02-12 05:00

Could you teach me how to do that?

Thanks

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Fri, 2010-02-12 05:10

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

 
otaner

Joined: 2010-02-12
Posts: 16
Posted: Sat, 2010-02-13 23:23

thanks! It works. Im just start using this system.