只有管理员才可以看通知栏
This commit is contained in:
parent
d92867df95
commit
e1eba5705f
|
@ -21,7 +21,7 @@
|
|||
</li>
|
||||
</ul>
|
||||
}
|
||||
@if (!Model.ShowMenu)
|
||||
@if (!Model.ShowMenu && (LgbPrincipal.IsAdmin(User.Identity.Name) || User.IsInRole("Administrators")))
|
||||
{
|
||||
<!-- notification start -->
|
||||
<ul class="notify-row">
|
||||
|
|
Loading…
Reference in New Issue