This commit is contained in:
@@ -107,6 +107,7 @@ namespace AyaNova.Biz
|
||||
}
|
||||
}
|
||||
|
||||
//For auth and access in client, also when opening wo and also when reporting wo
|
||||
internal static async Task<CustomerRightsRecord> CustomerUserEffectiveRightsAsync(long userId, long? workorderId = null)
|
||||
{
|
||||
using (AyContext ct = ServiceProviderProvider.DBContext)
|
||||
@@ -216,7 +217,7 @@ namespace AyaNova.Biz
|
||||
ThisWOCanWiki = CustomerWorkOrderWikiAttachmentTags.Intersect(AyaNova.Util.ServerGlobalBizSettings.Cache.CustomerAllowWOWikiInTags).Any();
|
||||
}
|
||||
|
||||
//WO ATTACHMENTS
|
||||
//WO ATTACHMENTS
|
||||
if (AyaNova.Util.ServerGlobalBizSettings.Cache.CustomerAllowWOAttachments)
|
||||
{
|
||||
ThisWOCanAttachments = true;
|
||||
@@ -264,7 +265,10 @@ namespace AyaNova.Biz
|
||||
ContactCustomerHOTagsCombined,
|
||||
AyaNova.Util.ServerGlobalBizSettings.Cache.CustomerAllowNotifyWOCompletedInTags),
|
||||
EntityId,
|
||||
EntityActive
|
||||
EntityActive,
|
||||
ThisWOEffectiveWorkOrderReportId,
|
||||
ThisWOCanWiki,
|
||||
ThisWOCanAttachments
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user