diff --git a/ENI2/ENI2.csproj b/ENI2/ENI2.csproj index 8448c5a0..63b9e028 100644 --- a/ENI2/ENI2.csproj +++ b/ENI2/ENI2.csproj @@ -36,7 +36,7 @@ 5.4.0.0 true publish.html - 11 + 13 7.9.0.%2a false true diff --git a/ENI2/MainWindow.xaml.cs b/ENI2/MainWindow.xaml.cs index 17d01a82..192c4b6b 100644 --- a/ENI2/MainWindow.xaml.cs +++ b/ENI2/MainWindow.xaml.cs @@ -661,11 +661,12 @@ namespace ENI2 this.labelStatusBar.Text = string.Format("Rep.Party: {0} {1} [{2}]", this.userEntity.FirstName, this.userEntity.LastName, this.userEntity.Logon); App.UserId = this.userEntity.Id; ReportingParty.CurrentReportingParty = this.userEntity; + this.menuItemMaersk.Visibility = Visibility.Visible; // addendum: Maersk should be visible to all (7.9.0.12) + if (this.userEntity.IsAdmin) { - this.menuItemUserAdministration.Visibility = Visibility.Visible; - this.menuItemMaersk.Visibility = Visibility.Visible; - this.sucheControl.AdminMode = true; + this.menuItemUserAdministration.Visibility = Visibility.Visible; + this.sucheControl.AdminMode = true; } break; case ReportingParty.LogonResult.FAILED: