The menu SecurityTrimming feature isn't hiding actions that are marked as async.
For example I have the following Action:
[Authorize]
public async Task<ActionResult> Profile()
{
return View();
}
If I include this Action in the Menu, it displays even if the user is not logged in.
Ben
1 Answer, 1 is accepted
0
Georgi Krustev
Telerik team
answered on 10 Jan 2014, 02:13 PM
Hello Ben,
Currently, security trimming functionality supports only Action methods which are synchronous. The good news is that support for Action methods returning Task<ActionResult> will be supported in the next official release of Kendo UI due in the mid of next week. I will suggest you give it a try once it is released and let us know if the problem still persists.
Regards,
Georgi Krustev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!