diff --git a/EduNetworkBuilder/NetworkBuilder.cs b/EduNetworkBuilder/NetworkBuilder.cs index 39bc27b..b534f97 100644 --- a/EduNetworkBuilder/NetworkBuilder.cs +++ b/EduNetworkBuilder/NetworkBuilder.cs @@ -399,6 +399,10 @@ namespace EduNetworkBuilder classSetupToolStripMenuItem.Visible = false; this.Text = "EduNetworkBuilder : " + CurrentUser.FullName; } + if (CurrentUser == null || !CurrentUser.isAdmin) + addToClassworkToolStripMenuItem.Visible = false; + else + addToClassworkToolStripMenuItem.Visible = true; } public void UpdateLinks()