<p></p>
<blockquote>
<p dir="auto">If we stop that then it would not fix anything and would make things worse. User will be never notified about block</p>
</blockquote>
<p dir="auto">If you want to be lazy, just show the 403 response message. It tells about the block. That's what iD does. We can put an url there to to read the block directly. <em>User will be never notified about block</em> if the block doesn't have the needs_view flag and you just delete the token.</p>
<blockquote>
<p dir="auto">there is no reasonable way to detect block</p>
</blockquote>
<p dir="auto">There are ways to detect blocks</p>
<p dir="auto">a) assuming that nothing is changed on the website - see <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2762394953" data-permission-text="Title is private" data-url="https://github.com/streetcomplete/StreetComplete/issues/6062" data-hovercard-type="issue" data-hovercard-url="/streetcomplete/StreetComplete/issues/6062/hovercard?comment_id=2565450817&comment_type=issue_comment" href="https://github.com/streetcomplete/StreetComplete/issues/6062#issuecomment-2565450817">streetcomplete/StreetComplete#6062 (comment)</a> - under this assumption whatever you requesting in issues here also hasn't happened and GDPR-related changes haven't happened</p>
<p dir="auto">b) assuming that changes happen - <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2764809980" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/5452" data-hovercard-type="pull_request" data-hovercard-url="/openstreetmap/openstreetmap-website/pull/5452/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/pull/5452">#5452</a> + another change that would add some page, let's say <code class="notranslate">/account/blocks/check</code> that would tell the user everything they need to know about their current blocked status. Then you'll have the following options:</p>
<ul dir="auto">
<li>proper option: got 403 - check the current block api - if there are current blocks, tell the user that they either need to view that <code class="notranslate">/account/blocks/check</code> page to clear the block, or that they need to wait until a certain date</li>
<li>lazier option: got 403 - tell the user that maybe they're blocked, go check <code class="notranslate">/account/blocks/check</code> to find out</li>
<li>super lazy option: got 403 - show the server response, like you can do now</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/issues/5490#issuecomment-2585795424">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLO3YABV2KM7LRXZPQ32KKIQPAVCNFSM6AAAAABU67LUOOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKOBVG44TKNBSGQ">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLKFZR7EQLTEU26GZH32KKIQPA5CNFSM6AAAAABU67LUOOWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTU2EANWA.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/issues/5490/2585795424</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/issues/5490#issuecomment-2585795424",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/5490#issuecomment-2585795424",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>