<p dir="auto">Continues <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2473247272" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/5094" data-hovercard-type="pull_request" data-hovercard-url="/openstreetmap/openstreetmap-website/pull/5094/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/pull/5094">#5094</a>.</p>
<p dir="auto">Moderators who didn't create an active block can open its edit page and the form for them will look like this:<br>
<a href="https://github.com/user-attachments/assets/6b4ef935-ae22-4783-848f-cfa9c3e1505a">image.png (view on web)</a></p>
<p dir="auto">They can update the reason and click revoke. They'll be recorded as revokers and the block will be deactivated.</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/5104'>https://github.com/openstreetmap/openstreetmap-website/pull/5104</a></p>

<h4>Commit Summary</h4>
<ul>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/5104/commits/69a8ef934e5618df7e540831cbdea0b3b55fa681" class="commit-link">69a8ef9</a>  Show edit buttons on active blocks to all moderators</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/5104/commits/4ff2d56f3ba7d0d500d0316a6da8914d9f0637d5" class="commit-link">4ff2d56</a>  Let all moderators revoke blocks by editing</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/5104/commits/13df065d90386085662b187567cf333d397d8e8f" class="commit-link">13df065</a>  Remove duration controls for blocks that can only be revoked by editing</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/5104/commits/03a1040d4d27b0e90db4a41d27f0424280512b68" class="commit-link">03a1040</a>  Change submit button on block edit page when can only revoke</li>
</ul>

<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5104/files">9 files</a>)</p>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5104/files#diff-debf59904131dc89a88ab44cbb1d6deaaa5a7d70c0507f674080df62f7c8e41f">app/abilities/ability.rb</a>
    (5)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5104/files#diff-5fb62154bcc2028d8f094225ee59e06e6dc57b853e0d429f7ebab0168f428111">app/controllers/user_blocks_controller.rb</a>
    (8)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5104/files#diff-5600ede6a40cd2ed0b592ddd5fd56e0a863da7c72dc1e80443d3ebd056b9a7e5">app/views/user_blocks/_block.html.erb</a>
    (3)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5104/files#diff-762e147134aeb7c6c814b6478e6fee8af290b11a6009a242d52fa14cfe3d6db2">app/views/user_blocks/edit.html.erb</a>
    (20)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5104/files#diff-d669c04f0a7e45151d990c7457c79db874d8d6c47e41ee6817048eeb600cc9a1">app/views/user_blocks/show.html.erb</a>
    (3)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5104/files#diff-44438ce218f5287c58d0017f965d888715635d94280669896f75841fbd7b4cd7">config/locales/en.yml</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5104/files#diff-9ca0f3412d30fa75d21d710e7d0f07b08a8eeb934543b9db405b8d63619548c1">test/controllers/user_blocks_controller_test.rb</a>
    (74)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5104/files#diff-b6c0b1af31522c030e07c403d8ca797f366f31cffac84e321df63bbc0febca13">test/factories/user_blocks.rb</a>
    (6)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5104/files#diff-4b528650fedb5a3547971c04193b58fe9ef2d75aaac9f9822106d361d6cb35fa">test/system/user_blocks_test.rb</a>
    (18)
  </li>
</ul>

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