I want some users to be able to view the map, others view +edit. How can this be accomplished? edit: on a private osm server. asked 07 Nov '11, 20:27 alexz |
This is not a question about OpenStreetMap and therefore off-topic on this site. When you talk about "view the map", if you mean the map tiles, then a simple web server based user authentication could solve your problem. As for editing, the OSM server already has used authentication for that. If you want (your version of) the OSM API to only respond to data requests for authenticated users, you will have to amend the Rails code with the appropriate authentication checks. If you want to combine both, and make it so that even tiles are only served to users who have an account with the Rails system then you could hack up a custom authentication module for your web server that authenticates against the Rails backend's user database. But as I said, this has nothing to do with OSM any more. answered 08 Nov '11, 08:06 Frederik Ramm ♦ 1
... these special questions dealing with the core software that OSM use could be better placed for examole on http://lists.openstreetmap.org/listinfo/rails-dev or some other developer mailing list.
(08 Nov '11, 16:56)
stephan75
|