#17634 closed enhancement (fixed)
Reject uploads that do not follow comment/source upload policy
Reported by: | Don-vip | Owned by: | Don-vip |
---|---|---|---|
Priority: | normal | Milestone: | 19.04 |
Component: | Core | Version: | |
Keywords: | upload comment source policy terms | Cc: |
Description
On the same way we warn users when they try to upload without specifying a comment or a source, it might be useful to reject uploads for which the comment or source does not follow a configurable policy (for example, absence of mandatory terms or presence of forbidden terms).
Attachments (2)
Change History (18)
by , 6 years ago
Attachment: | forbidden.png added |
---|
by , 6 years ago
Attachment: | required.png added |
---|
comment:1 by , 6 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:3 by , 6 years ago
For now these windows will never appear as the 4 new properties are all empty, right? Do you plan to add terms? What about upload.source.forbidden-terms=google, google-maps, googlemaps, google-earth, googleearth
? Is it case insensitive?
comment:4 by , 6 years ago
Yes the idea is to offer a configurable mechanism for those who need it (organized editing, etc.). I guess we can add some terms that apply to everyone. It is not yet case insensitive but it should.
follow-up: 7 comment:6 by , 6 years ago
Yes I also suggest to add some default set of rejected words. E.g. if the full changeset description is something like "test", "update", "correction", "edit", those should be rejected. Such descriptions without any meaning are useless for OSM.
comment:7 by , 6 years ago
Replying to aceman:
E.g. if the full changeset description is something like "test", "update", "correction", "edit", those should be rejected. Such descriptions without any meaning are useless for OSM.
I disagree. Something like "osmose/JOSM corrections" is something very common. Think also about "2019 cadastral update on my area", etc. Only flagrant abuses like Google Maps should be rejected by default.
comment:8 by , 6 years ago
Those would be fine.
I meant when the whole comment/description of the changeset is the single word like "correction", not when the word is only a part of it.
comment:9 by , 6 years ago
This is already catched by the "too short" (< 10 latin characters or < 4 CJK characters) mechanism.
comment:10 by , 6 years ago
Why?!
Mappers often write "google" or "yandex" as a source, helping us find malicious edits.
You are removing this option, making mappers invent something like "survey".
What do you get from that?
comment:11 by , 6 years ago
Another why: I think for a longer time now JOSM is unable to display GoogleSat at all. They don't use TMS for their Maps-API anymore (or even image formats, but rather protobuf data).
comment:12 by , 6 years ago
DWG still occasionally, rarely, finds people using Google satellite imagery. We have our own ways of adding that imagery to JOSM for checking.
comment:13 by , 6 years ago
Well, it would be much easier for DWG and local communities to find such people using changeset comments, not just a hunch.
In 15010/josm: