mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-09-24 05:23:33 +08:00
#17782: Reports Module - Inconsistent Permissions
Contributed by ldhertert. --HG-- branch : 1.x
This commit is contained in:
@@ -11,7 +11,7 @@ namespace Orchard.Core.Reports {
|
|||||||
builder.AddImageSet("reports")
|
builder.AddImageSet("reports")
|
||||||
.Add(T("Reports"), "12",
|
.Add(T("Reports"), "12",
|
||||||
menu => menu.Add(T("View"), "0", item => item.Action("Index", "Admin", new { area = "Reports" })
|
menu => menu.Add(T("View"), "0", item => item.Action("Index", "Admin", new { area = "Reports" })
|
||||||
.Permission(StandardPermissions.AccessAdminPanel)));
|
.Permission(StandardPermissions.SiteOwner)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Reference in New Issue
Block a user