More Common.CurrentUser related changes (IPERL/ORACLE)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
///
|
||||
/// Copyright (c) 2016-2021 Sensus Slovensko a.s.
|
||||
/// Copyright (c) 2016-2022 Sensus Slovensko a.s.
|
||||
///
|
||||
using System;
|
||||
using System.Windows.Forms;
|
||||
@@ -23,7 +23,7 @@ namespace TBF.UI.ResultsMI
|
||||
public int FailedCount;
|
||||
public bool Sent;
|
||||
|
||||
protected PreviousResultCtrl()
|
||||
PreviousResultCtrl()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
@@ -109,11 +109,13 @@ namespace TBF.UI.ResultsMI
|
||||
/// Access only to thise who manage production tracing
|
||||
GID[] rqrdGroupMembership = new GID[] { GID.TraceabilityManagement };
|
||||
|
||||
if ((new SharedDatabase.Forms.LoginDlg(GlobalData.GetCurrentUserName(), rqrdGroupMembership)).ShowDialog() != DialogResult.OK)
|
||||
if ((new SharedDatabase.Forms.LoginDlg(CurrentUser.UserName(), rqrdGroupMembership, parent)).ShowDialog() != DialogResult.OK)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
Program.MainWnd.UpdateUser();
|
||||
|
||||
parent.OnReloadAndFix(this, new PreviousResultIdEventArgs(BatchNr));
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user