[openstreetmap/openstreetmap-website] Communicate Terms of Use to unauthenticated users (Issue #6791)

Minh Nguyễn notifications at github.com
Tue Feb 10 19:49:26 UTC 2026


1ec5 left a comment (openstreetmap/openstreetmap-website#6791)

The purpose of this feature request is to give notice about the ToU to logged-out users, so that the terms have more legal standing. This is an idea for chipping away at #6610, since we don’t track logged-out users’ acceptance of the ToU and wouldn’t consider such tracking to be feasible anyways. OSMF doesn’t intend to impose this specific solution on the project, but this is part of our best understanding of what the LWG asked for.

The banner in question looks like this:

<img width="350" height="307" alt="Welcome to OpenStreetMap! OpenStreetMap is a map of the world, created by people like you and free to use under an open license. Hosting is supported by Fastly, OSMF corporate members, and other partners." src="https://github.com/user-attachments/assets/cf425579-abf8-4a87-856e-db0649a5fc7e" />

Based on code inspection, I believe the welcome banner only ever appears to logged-out users. If they click the ✖️ button, we set the `_osm_welcome` cookie to `hide`, which prevents it from appearing the next time. This is sufficient for the purpose of notifying users of the ToU.

Sometimes we configure a special banner to appear to all users. Logged-out users see that banner underneath the welcome banner. openhistoricalmap.org is currently running a special banner, if you’d like to see how that looks in different situations.

Here’s where we populate the banner:

https://github.com/openstreetmap/openstreetmap-website/blob/bcded99f5c9fc4f733ed5caedce6d1b5921fc3ab/app/views/layouts/map.html.erb#L37-L41 https://github.com/openstreetmap/openstreetmap-website/blob/bcded99f5c9fc4f733ed5caedce6d1b5921fc3ab/config/locales/en.yml#L1852-L1855

We’d append the following text from #6610, which was suggested by the LWG:

> By using this website or other infrastructure provided by the OpenStreetMap Foundation, you agree to the [OpenStreetMap Terms of Use](https://osmfoundation.org/wiki/Terms_of_Use).

To avoid making the banner too large, especially on mobile devices, we could make the second paragraph smaller (like it used to be, I think) and append the new text to that paragraph.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/6791#issuecomment-3880341157
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/issues/6791/3880341157 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260210/a61c5c5e/attachment.htm>


More information about the rails-dev mailing list