mirror of
https://github.com/lempamo/Project-Unite.git
synced 2025-01-22 03:11:48 -05:00
fix old acl in roles list
This commit is contained in:
parent
3c95bab2d5
commit
d76f06578c
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@
|
|||
<td>
|
||||
@Html.ActionLink("Edit", "EditRole", new { id = item.Id }, new { @class = "btn btn-default" })
|
||||
@Html.ActionLink("Details", "RoleDetails", new { id = item.Id }, new { @class = "btn btn-default" })
|
||||
@if (ACL.Granted(User.Identity.Name, "CanDeleteRoles"))
|
||||
@if (User.Identity.IsAdmin())
|
||||
{
|
||||
@Html.ActionLink("Delete", "DeleteRole", new { id = item.Id }, new { @class = "btn btn-danger" })
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue