Index: resources/data/validator/combinations.mapcss
===================================================================
--- resources/data/validator/combinations.mapcss	(revision 18225)
+++ resources/data/validator/combinations.mapcss	(working copy)
@@ -109,6 +109,14 @@
   group: tr("missing tag");
 }
 
+/* #20742 - No warning about barrier with inappropriate access tags on highway */
+ way[highway=~/^(motorway|motorway_link|trunk|trunk_link|primary|primary_link|secondary|secondary_link|tertiary|tertiary_link)$/][!access][!vehicle] > node[barrier][barrier!=entrance][barrier!~/border_control|height_restrictor|toll_booth/][!access][!motor_vehicle][!vehicle] {
+    throwWarning: tr("{0} without access tags such as {1}, {2}, or {3}.", "{0.tag}", "access", "motor_vehicle", "vehicle");
+    group: tr("suspicious barrier tags");
+    assertMatch: "node barrier=gate way highway=tertiary";
+    assertNoMatch: "node barrier=entrance way highway=tertiary";
+}
+
 /* {0.key} without {1.tag} or {2.tag} */
 *[bridge:movable               ][bridge!=movable][man_made!=bridge],
 *[substation                   ][power!=substation][pipeline!=substation],
