@model Project_Unite.Models.ModeratorBanListViewModel @{ ViewBag.Moderator = true; ViewBag.Title = "Bans"; }
Below is a list of all user bans. User bans prevent users from logging into their accounts.
| User | Banner | Timestamp | Actions |
|---|---|---|---|
| @Html.UserLink(u.Id) | @Html.UserLink(u.BannedBy) | @u.BannedAt | @if (ACL.CanManageRole(User.Identity.Name, u.HighestRole.Id)) { @Html.ActionLink("Unban", "Unban", "Moderator", new { id = u.Id }, new { @class = "btn btn-default" }) } |
Below is a list of IP address bans on the site. IP bans prevent users with a certain IP address from even attempting to access the website and multi-user domain by sending back "Forbidden" responses and denying connection.
The system does NOT associate IP addresses with usernames - it can't. If you are unsure who's IP address you are unbanning, contact someone who is sure before taking any action. We have no idea what that computer or network is capable of.
| User | Banner | Timestamp | Actions |
|---|---|---|---|
| @u.Address | @if (User.Identity.IsAdmin()) { @Html.ActionLink("Unban", "UnbanIP", "Moderator", new { id = u.Id }, new { @class = "btn btn-danger" }) } |