<p>It would be better to use the permissions system here, rather than hardcoding the specific role. So for example <code>unless can? :unhidecomment, DiaryEntry</code> - that way if we grant <code>:unhidecomment</code> ability to another group in future, it'll work for them too.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/commit/936967d0cbf389431c7a6ba79c169a285140477d?email_source=notifications&email_token=AAK2OLMJWH4BXSOUFZNR2O3QPFSZPA5CNFSM4JCDZDDKYY3PNVWWK3TUL52HS4DFVVBW63LNNF2EG33NNVSW45FKMNXW23LFNZ2F62LEZYBB5DXT#commitcomment-35557107">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLICGEVCEXX5DCHBKFTQPFSZPANCNFSM4JCDZDDA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAK2OLOLIILWQKUQXOUO5I3QPFSZPA5CNFSM4JCDZDDKYY3PNVWWK3TUL52HS4DFVVBW63LNNF2EG33NNVSW45FKMNXW23LFNZ2F62LEZYBB5DXT.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/commit/936967d0cbf389431c7a6ba79c169a285140477d?email_source=notifications\u0026email_token=AAK2OLMJWH4BXSOUFZNR2O3QPFSZPA5CNFSM4JCDZDDKYY3PNVWWK3TUL52HS4DFVVBW63LNNF2EG33NNVSW45FKMNXW23LFNZ2F62LEZYBB5DXT#commitcomment-35557107",
"url": "https://github.com/openstreetmap/openstreetmap-website/commit/936967d0cbf389431c7a6ba79c169a285140477d?email_source=notifications\u0026email_token=AAK2OLMJWH4BXSOUFZNR2O3QPFSZPA5CNFSM4JCDZDDKYY3PNVWWK3TUL52HS4DFVVBW63LNNF2EG33NNVSW45FKMNXW23LFNZ2F62LEZYBB5DXT#commitcomment-35557107",
"name": "View Commit"
},
"description": "View this Commit on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>