case 1690

This commit is contained in:
2021-11-24 21:34:46 +00:00
parent d72c8e3660
commit f2a5de5ad8
8 changed files with 28 additions and 11 deletions

View File

@@ -86,6 +86,9 @@ namespace AyaNova.Models
public bool CustomerAllowCSR { get; set; }
public List<string> CustomerAllowCSRInTags { get; set; } = new List<string>();
public bool CustomerAllowCreateUnit { get; set; }
public List<string> CustomerAllowCreateUnitInTags { get; set; } = new List<string>();
public bool CustomerAllowViewWO { get; set; }
public List<string> CustomerAllowViewWOInTags { get; set; } = new List<string>();
@@ -126,6 +129,7 @@ namespace AyaNova.Models
t.AddRange(this.CustomerWorkOrderReport4Tags);
t.AddRange(this.CustomerWorkOrderReport5Tags);
t.AddRange(this.CustomerAllowCSRInTags);
t.AddRange(this.CustomerAllowCreateUnitInTags);
t.AddRange(this.CustomerAllowViewWOInTags);
t.AddRange(this.CustomerAllowWOWikiInTags);
t.AddRange(this.CustomerAllowWOAttachmentsInTags);
@@ -147,7 +151,7 @@ namespace AyaNova.Models
}
//Used internally and at client end as extended rights atop roles system in relation only to Contact (customer type users)
public record CustomerRightsRecord(bool CSR, bool WO, bool WOWIKI, bool WOAttachments, bool UserSettings, bool NotifyServiceImminent, bool NotifyCSRAccepted, bool NotifyCSRRejected, bool NotifyWOCreated, bool NotifyWOCompleted, long EntityId, bool EntityActive, long?ThisWOEffectiveWOReportId, bool ThisWOCanWiki, bool ThisWOCanAttachments);
public record CustomerRightsRecord(bool CSR, bool CreateUnit, bool WO, bool WOWIKI, bool WOAttachments, bool UserSettings, bool NotifyServiceImminent, bool NotifyCSRAccepted, bool NotifyCSRRejected, bool NotifyWOCreated, bool NotifyWOCompleted, long EntityId, bool EntityActive, long?ThisWOEffectiveWOReportId, bool ThisWOCanWiki, bool ThisWOCanAttachments);
}
/*
CREATE TABLE [dbo].[AGLOBAL](