Unify location information permissions
I.e make it admin only, ref: https://hq.lichess.ovh/#narrow/stream/23-mod-hunter-cheat/topic/main/near/458583pull/9946/head
parent
b2bda11860
commit
171edc0e08
|
@ -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")(
|
||||
|
|
Loading…
Reference in New Issue