Add some advanced delete options to hackerspaces (namely 'repair café' and 'coworking') as the hackerspace tag has been widely abused for this type of amenity.

This commit is contained in:
Pieter Vander Vennet 2024-07-26 21:48:02 +02:00
parent 9ec625302b
commit a445cdde04
2 changed files with 31 additions and 2 deletions

View file

@ -513,6 +513,34 @@
"internet-all",
"questions"
],
"deletion": true,
"deletion": {
"nonDeleteMappings": [
{
"if": {
"and": [
"leisure=",
"hackerspace=",
"amenity=workshop",
"repair=assisted_self_service"
]
},
"then": {
"en": "This is an workshop for assisted self service, such as a repair café"
}
},
{
"if": {
"and": [
"leisure=",
"hackerspace=",
"office=coworking"
]
},
"then": {
"en": "This is a coworking office"
}
}
]
},
"allowMove": true
}