This commit is contained in:
2021-12-28 18:17:23 +00:00
parent c5756d0079
commit 7f40e53df0

View File

@@ -381,7 +381,7 @@ namespace AyaNova.Biz
AuthorizationRoles effectiveRoles = CurrentUserRoles; AuthorizationRoles effectiveRoles = CurrentUserRoles;
if (!RequestIsCustomerWorkOrderReport && !AyaNova.Api.ControllerHelpers.Authorized.HasReadFullRole(effectiveRoles, report.AType)) if (!RequestIsCustomerWorkOrderReport && !AyaNova.Api.ControllerHelpers.Authorized.HasReadFullRole(effectiveRoles, report.AType))
{ {
log.LogDebug($"bail: user unauthorized"); log.LogDebug($"bail: user unauthorized");
@@ -551,7 +551,7 @@ namespace AyaNova.Biz
page.DefaultTimeout = 0;//infinite timeout as we are controlling how long the process can live for with the reportprocessmanager page.DefaultTimeout = 0;//infinite timeout as we are controlling how long the process can live for with the reportprocessmanager
try try
{ {
throw new ReportRenderTimeOutException("TEST");
//info and error logging //info and error logging
page.Console += async (sender, args) => page.Console += async (sender, args) =>
{ {