3.0.0.3 Control Repository Schema & Logs.
This commit is contained in:
@@ -15,7 +15,7 @@ namespace Sarand.BusinessMgr.Net.Standard.Base.App
|
||||
//-------------------------------------------------------------------
|
||||
public static class Version
|
||||
{
|
||||
private static String version { get; } = "3.0.0.2";
|
||||
private static String version { get; } = "3.0.0.3";
|
||||
// Retrieve version.
|
||||
public static String GetFullVersion() { return version; }
|
||||
public static String GetAppVersion()
|
||||
@@ -40,6 +40,8 @@ namespace Sarand.BusinessMgr.Net.Standard.Base.App
|
||||
// 3.0.0 Jul-2021 Initial demo test version.
|
||||
// 02-Feb-25 Initial live deployment.
|
||||
// 3.0.0.1 08-Feb-25 Demo repository registration.
|
||||
// 3.0.0.2 08-Feb-25 Production SMTP config.
|
||||
// 3.0.0.3 10-Feb-25 Osie feedback #1. Control Repository Schema, Logs.
|
||||
//-------------------------------------------------------------------
|
||||
}
|
||||
//=======================================================================
|
||||
|
||||
@@ -113,6 +113,7 @@ namespace Sarand.BusinessMgr.Net.Standard.Base.App
|
||||
{
|
||||
WebControl,
|
||||
WebPortal,
|
||||
WebDemo,
|
||||
}
|
||||
public enum InstanceType
|
||||
{
|
||||
@@ -125,6 +126,7 @@ namespace Sarand.BusinessMgr.Net.Standard.Base.App
|
||||
{
|
||||
Unknown,
|
||||
Control,
|
||||
BusMgr,
|
||||
Template,
|
||||
Demo,
|
||||
}
|
||||
|
||||
@@ -19,6 +19,8 @@ namespace Sarand.BusinessMgr.Net.Standard.Base.App
|
||||
// Properties.
|
||||
public Sbm.Application Application { get; private set; }
|
||||
|
||||
public bool IsDemoRepository() { return Application == Sbm.Application.WebDemo; }
|
||||
|
||||
//-------------------------------------------------------------------
|
||||
}
|
||||
//=======================================================================
|
||||
|
||||
@@ -112,8 +112,8 @@ namespace Sarand.BusinessMgr.Net.Standard.Base.Consoles
|
||||
private SbmInternals Internals { get { return mbr.InternalsSupplied; } }
|
||||
public ISbmUserOrganisationContext UserContext { get { return Internals.UserContext; } }
|
||||
public SbmSessionContext SessionContext { get { return Internals.SessionContext; } }
|
||||
public SbmInstanceConfig InstanceConfig { get { if (instanceConfig == null) instanceConfig = SbmGlobals.Application.GetInstanceConfig(SessionContext); return instanceConfig; } }
|
||||
public SbmOrganisationConfig OrganisationConfig { get { if (organisationConfig == null) organisationConfig = SbmGlobals.Application.GetOrganisationConfig(UserContext); return organisationConfig; } }
|
||||
public SbmInstanceConfig InstanceConfig { get { if (instanceConfig == null) { instanceConfig = SbmGlobals.Application.GetInstanceConfig(SessionContext); } return instanceConfig; } }
|
||||
public SbmOrganisationConfig OrganisationConfig { get { if (organisationConfig == null) { organisationConfig = SbmGlobals.Application.GetOrganisationConfig(UserContext); } return organisationConfig; } }
|
||||
|
||||
//-------------------------------------------------------------------
|
||||
// C r e a t e C o n s o l e
|
||||
@@ -224,6 +224,17 @@ namespace Sarand.BusinessMgr.Net.Standard.Base.Consoles
|
||||
return false;
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------
|
||||
// Demo Repository restrictions.
|
||||
|
||||
/// <summary>
|
||||
/// Demo application should not display Individual Contacts for User Accounts other than that logged in.
|
||||
/// </summary>
|
||||
public bool HideOtherUserContacts()
|
||||
{
|
||||
return SessionContext.IsDemoRepository();
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------
|
||||
// Application Configuration. - AllowOption.
|
||||
public virtual bool AllowOption(Sbm.ConfigOption option)
|
||||
|
||||
Reference in New Issue
Block a user