Unify location information permissions

I.e make it admin only, ref: https://hq.lichess.ovh/#narrow/stream/23-mod-hunter-cheat/topic/main/near/458583
pull/9946/head
kraktus 2021-10-12 21:15:34 +02:00 committed by Thibault Duplessis
parent b2bda11860
commit 171edc0e08
1 changed files with 1 additions and 1 deletions

View File

@ -659,7 +659,7 @@ object mod {
): Frag = {
val canIpBan = isGranted(_.IpBan)
val canFpBan = isGranted(_.PrintBan)
val canLocate = isGranted(_.Admin) || user.lameOrTrollOrAlt
val canLocate = isGranted(_.Admin)
mzSection("identification")(
canLocate option div(cls := "spy_locs")(
table(cls := "slist slist--sort")(