I\'m trying out some of the new stuff in VS2013 RC with MVC5 and the new OWIN authentication middleware.
So, I\'m used to using the [Authorize] attribut
[Authorize]
[ClaimsPrincipalPermission(SecurityAction.Demand, Operation="Delete", Resource="Customer")] public ActionResult Delete(int id) { _customer.Delete(id); return RedirectToAction("CustomerList"); }
ClaimsPrincipalPermissionAttribute Class