<p dir="auto">This lets block users by id, which helps in case they frequently change their username.</p>
<hr>
<h4>You can view, comment on, or merge this pull request online at:</h4>
<p> <a href='https://github.com/openstreetmap/openstreetmap-website/pull/4301'>https://github.com/openstreetmap/openstreetmap-website/pull/4301</a></p>
<h4>Commit Summary</h4>
<ul>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/4301/commits/568c2ce30050dcb43a9f3607eff7d341d7fa296c" class="commit-link">568c2ce</a> Test more block attributes in show call</li>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/4301/commits/3375001023d326deefdc68ff612ff1ea670fd110" class="commit-link">3375001</a> Add user block api call</li>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/4301/commits/40b2fafec42c7fecbcaef938349f92795c54163e" class="commit-link">40b2faf</a> Decrease number of if statements in api capabilities class</li>
</ul>
<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4301/files">6 files</a>)</p>
<ul>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4301/files#diff-38488bd50be0cf63517ec5ae3fd3c4e462b3fdda7201844b0ab3442b73b8c08d">app/abilities/api_capability.rb</a>
(21)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4301/files#diff-45532091aa0afe3e4a7089097e192ff190736fc64a59eb915df13925269bcca2">app/controllers/api/user_blocks_controller.rb</a>
(27)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4301/files#diff-44438ce218f5287c58d0017f965d888715635d94280669896f75841fbd7b4cd7">config/locales/en.yml</a>
(1)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4301/files#diff-959bc9abc46a55332bb64d5155a79323afa75a50ec1a2137ddd22d926f62c6c5">config/routes.rb</a>
(2)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4301/files#diff-373d9a0dc0a0811fb3fb744cfed277eb94abc4cbc3dac74ff66ab787a06766be">lib/oauth.rb</a>
(2)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4301/files#diff-d917c0939253c92e8068815f0fe793a21cba83a7802c0f9fab1566dbb7216a69">test/controllers/api/user_blocks_controller_test.rb</a>
(186)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/4301.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/4301.patch</a></li>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/4301.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/4301.diff</a></li>
</ul>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4301">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLLAIBYO5KBPTUFCN4DYAJRFJAVCNFSM6AAAAAA6I5FK4GVHI2DSMVQWIX3LMV43ASLTON2WKOZRHE2TIMJTGM2DSNQ">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLOKY4MHWF42P3I3DI3YAJRFJA5CNFSM6AAAAAA6I5FK4GWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHHI6NV7A.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/pull/4301</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/4301",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/4301",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>