We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@Piedone created: https://orchard.codeplex.com/workitem/18232
...since there is no point to have a link that goes to the Access Denied page. Fix is the following code:
@if (AuthorizedFor(Orchard.Security.StandardPermissions.AccessAdminPanel)) { @Html.ActionLink(T("Dashboard").ToString(), "Index", new { Area = "Dashboard", Controller = "Admin" }) }
Currently the link is displayed without checking.
The text was updated successfully, but these errors were encountered:
@sebastienros commented:
Fixed in changeset 12008e8a0c9c
Sorry, something went wrong.
@sfmskywalker commented:
Fixed in changeset a0a9933
No branches or pull requests
@Piedone created:
https://orchard.codeplex.com/workitem/18232
...since there is no point to have a link that goes to the Access Denied page. Fix is the following code:
@if (AuthorizedFor(Orchard.Security.StandardPermissions.AccessAdminPanel)) {
@Html.ActionLink(T("Dashboard").ToString(), "Index", new { Area = "Dashboard", Controller = "Admin" })
}
Currently the link is displayed without checking.
The text was updated successfully, but these errors were encountered: