This commit is contained in:
@@ -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) =>
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user