70 lines
1.8 KiB
C#
70 lines
1.8 KiB
C#
using Sarand.Core.Bus;
|
|
using Sarand.OperationsMgr.App.Consoles;
|
|
using Sarand.OperationsMgr.Core.App;
|
|
using Sarand.Win.Dbas.Base;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Sarand.OperationsMgr.Web.Consoles
|
|
{
|
|
//=======================================================================
|
|
public class OpnSecurityConsole_Web : OpnSecurityConsole_Dbas
|
|
{
|
|
//-------------------------------------------------------------------
|
|
// Data members.
|
|
//private List<TypeCodeDesc> securityRights = OpnSystem.GetCodesOfType(Opn.SystemCode.SecurityRight);
|
|
|
|
//-------------------------------------------------------------------
|
|
// Construction.
|
|
public OpnSecurityConsole_Web(OpnSessionContext sessionContext, SacsDatabase database) :
|
|
base (database)
|
|
{
|
|
}
|
|
|
|
//-------------------------------------------------------------------
|
|
// Security events.
|
|
protected override bool OnLogin (SysId userId)
|
|
{
|
|
return false;
|
|
}
|
|
protected override void OnLogout ()
|
|
{
|
|
}
|
|
|
|
//-------------------------------------------------------------------
|
|
// Method to show User Login form.
|
|
protected override ShowUserLoginFormFunction ShowUserLoginFormFn
|
|
{
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
//-------------------------------------------------------------------
|
|
// Method to display Security management form.
|
|
protected override ShowManageSecurityDialogFunction ShowManageSecurityDialogFn
|
|
{
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
//-------------------------------------------------------------------
|
|
public override bool OnUserModified (SysId userId)
|
|
{
|
|
return true;
|
|
}
|
|
public override bool OnSecurityGroupModified (SysId secGroupId)
|
|
{
|
|
return true;
|
|
}
|
|
|
|
//-------------------------------------------------------------------
|
|
}
|
|
//=======================================================================
|
|
}
|