Re: [mapguide-users] Mapguide user rights based on area
But is it possible to create map which have fixed extents and zoom level so user cant zoom and pan over limits the map have? -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Mapguide-user-rights-based-on-area-tp5100199p5106122.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Mapguide user rights based on area
That sounds like a pretty clear-cut way of solving it if we're sure you'll only ever need to manage two sets of permissions. It sounds tough to scale if new users with new permissions are added, but if the situation only requires the two users then it will be fast to implement and fulfill the requirement. -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Ryan Northcott Sent: Monday, January 27, 2014 3:52 PM To: MapGuide Users Mail List Cc: mapguide-users@lists.osgeo.org Subject: Re: [mapguide-users] Mapguide user rights based on area Can't you just make two maps and give out two different links. If you aren't spawning a link from a Programmed page just send the two groups different urls. - sent via mobile phone ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Mapguide user rights based on area
No, it's not possible without specific development. Rémy ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Mapguide user rights based on area
For something like that you would have to create programming logic with the web server API. If I was the one who needed to implement what you described I would start by creating a database of some kind to store user account information along with some parameters for permissions (access to specific layers, etc). Then in the programming code I would check the user's permissions after authentication and make runtime changes to the map before the map loads. Most of the changes would be hiding layers from the legend so the user couldn't enable them. As for restricting whole areas, the only thing I would think to do is to maintain multiple map definitions/layout definitions for different levels of permission and switch to a different at runtime before the map page loads. In theory that's how I imagine it. Like I said, I haven't actually needed to enforce permissions like that so I don't know how well the strategy will work. As far as I know these strategies could turn out slow or hacky for whatever reason. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Mapguide user rights based on area
Thanks for advice. That i thought its not smartest thing to do. I just want to use one map definition for both users who have differents rights(one user have permission to see several layers and other user cant). I just thought if I let one user to see specific layer and second one just cant see and done,but its not that easy. Web layout is not loading for user who is not allowed to see this specific layer. Only second user who have rights to see specific layer can see web layout correctly. User rights seems tricky or I missing something. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Mapguide-user-rights-based-on-area-tp5100199p5100326.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Mapguide user rights based on area
Can't you just make two maps and give out two different links. If you aren't spawning a link from a Programmed page just send the two groups different urls. - sent via mobile phone On Jan 27, 2014, at 4:14 PM, Kajar kajar.kulds...@gmail.com wrote: Thanks for advice. That i thought its not smartest thing to do. I just want to use one map definition for both users who have differents rights(one user have permission to see several layers and other user cant). I just thought if I let one user to see specific layer and second one just cant see and done,but its not that easy. Web layout is not loading for user who is not allowed to see this specific layer. Only second user who have rights to see specific layer can see web layout correctly. User rights seems tricky or I missing something. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Mapguide-user-rights-based-on-area-tp5100199p5100326.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users