<p dir="auto">Continues <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2022345673" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/4387" data-hovercard-type="pull_request" data-hovercard-url="/openstreetmap/openstreetmap-website/pull/4387/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/pull/4387">#4387</a>.</p>
<p dir="auto">Requires <code class="notranslate">write_redactions</code> scope to redact. Previously it was possible to redact with either <code class="notranslate">write_redactions</code> or <code class="notranslate">write_api</code>.</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/5168'>https://github.com/openstreetmap/openstreetmap-website/pull/5168</a></p>

<h4>Commit Summary</h4>
<ul>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/5168/commits/8b024f48c1debe5de4bc8819962c783af2e404f9" class="commit-link">8b024f4</a>  Disable redactions with write_api scope</li>
</ul>

<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5168/files">4 files</a>)</p>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5168/files#diff-38488bd50be0cf63517ec5ae3fd3c4e462b3fdda7201844b0ab3442b73b8c08d">app/abilities/api_capability.rb</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5168/files#diff-7ee3168144cba950374d481967d27d39db360d6dfb366aa9033b42f32cb98256">test/controllers/api/old_nodes_controller_test.rb</a>
    (21)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5168/files#diff-8e8190e84ed61c4b7d4457b6d491daae4fbe436431cd5985b364592d52271c68">test/controllers/api/old_relations_controller_test.rb</a>
    (21)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5168/files#diff-1d1ef6db64a5caea6f9e55e4038ed133a740c05263a5863c797fbfe26adc533e">test/controllers/api/old_ways_controller_test.rb</a>
    (21)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/5168.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/5168.patch</a></li>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/5168.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/5168.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/5168">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLJV2VOULCLBPETOWHTZVQKY3AVCNFSM6AAAAABN22J4EWVHI2DSMVQWIX3LMV43ASLTON2WKOZSGUYTEMRYHE4DCNQ">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLKRVVUXXEBQKHCZQD3ZVQKY3A5CNFSM6AAAAABN22J4EWWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHJLPUADA.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/5168</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/5168",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/5168",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>