update webfront permission types

This commit is contained in:
RaidMax 2022-07-20 10:34:33 -05:00
parent 51e8b31e42
commit d2cfd50e39
2 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,7 @@
{
var levelColorClass = !ViewBag.Authorized || client.client.LevelInt == 0 ? "text-light-dm text-dark-lm" : $"level-color-{client.client.LevelInt}";
<div class="d-flex @(clientIndex.index == 1 ? "justify-content-start flex-row-reverse" : "")">
<has-permission entity="AdminMenu" required-permission="Update">
<has-permission entity="AdminMenu" required-permission="Write">
<a href="#actionModal" class="profile-action" data-action="kick" data-action-id="@client.client.ClientId" aria-hidden="true">
<i class="oi oi-circle-x font-size-12 @levelColorClass"></i>
</a>

View File

@ -31,7 +31,7 @@
<a href="@Model.ConnectProtocolUrl" class="text-light align-self-center server-join-button" title="@Utilities.CurrentLocalization.LocalizationIndex["WEBFRONT_HOME_JOIN_DESC"]">
<i class="oi oi-play-circle ml-5 mr-5"></i>
</a>
<has-permission entity="AdminMenu" required-permission="Update">
<has-permission entity="AdminMenu" required-permission="Write">
<!-- send message button -->
<a href="#actionModal" class="profile-action text-light align-self-center" data-action="chat" data-action-id="@Model.ID">
<i class="oi oi-chat ml-5 mr-5"></i>