ControllerStandardDataItemClassPermissionCheck Method |
Namespace: SOWIWeb.Helper
[Missing <param name="pClaim"/> documentation for "M:SOWIWeb.Helper.ControllerStandard`1.PermissionCheck(SOWIData.Management.CRUD[])"]
[Missing <returns> documentation for "M:SOWIWeb.Helper.ControllerStandard`1.PermissionCheck(SOWIData.Management.CRUD[])"]
protected virtual ActionResult EditOnActionResultPostSave(ref DataItemClass pItem) { var lClaim = new SOWIData.Management.CRUD[] { SOWIData.Management.CRUD.Update, SOWIData.Management.CRUD.UpdateOwner }; if (PermissionCheck(lClaim)) { // to do return View(pItem); } return PermissionDenied(); }