Piwigo / piwigo-openstreetmap

OpenStreetMap integration for Piwigo
http://piwigo.org/ext/extension_view.php?eid=701
GNU General Public License v3.0
35 stars 35 forks source link

Enhancement request: show map only for groups/registered users #97

Open netchild opened 8 years ago

netchild commented 8 years ago

Hi,

I would prefer to not show a map to guests of the gallery. Only registered uses or may users in a specific group should be allowed to see the map.

Bye, Alexander.

xbgmsharp commented 8 years ago

It is available now. You need to select an option that is only visible to the group you wish too. Please refer to the wiki. https://github.com/xbgmsharp/piwigo-openstreetmap/wiki#add-location-before Permission are handle by PWG.

netchild commented 8 years ago

Thanks for the quick reply. For the picture itself that's great (and I've chosen to make it depend upon the possibility to rate a picture). What about the album map? If I have X pictures in an album and all are from the same location, you know where it is from the album map.

xbgmsharp commented 8 years ago

Picture are only display according to the user permission, as a result if the guest is able to see the photo, it will appear on the map.