From 5f3aa8fcd068031fb112f4b6ca1dec713ab879fc Mon Sep 17 00:00:00 2001 From: Maxim Slipenko Date: Sun, 22 May 2022 11:18:49 +0300 Subject: [PATCH] =?UTF-8?q?=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D1=8F?= =?UTF-8?q?=D0=B5=D1=82=20=D0=BE=D1=82=D0=BA=D0=BB=D1=8E=D1=87=D0=B5=D0=BD?= =?UTF-8?q?=D0=B8=D0=B5=20=D0=BA=D0=BD=D0=BE=D0=BF=D0=BA=D0=B8=20=D0=90?= =?UTF-8?q?=D0=B4=D0=BC=D0=B8=D0=BD=D0=B8=D1=81=D1=82=D1=80=D0=B8=D1=80?= =?UTF-8?q?=D0=BE=D0=B2=D0=B0=D0=BD=D0=B8=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- MainForm.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MainForm.cs b/MainForm.cs index 9297da1..5ebee65 100644 --- a/MainForm.cs +++ b/MainForm.cs @@ -15,6 +15,8 @@ namespace AwesomeEmailExtractor public MainForm() { InitializeComponent(); + + administrationToolStripMenuItem.Enabled = Globals.currentUser.Role == UserRoles.ADMIN; } private void executeButton_Click(object sender, EventArgs e)