Merge remote-tracking branch 'server/master'

This commit is contained in:
Axel Uhl
2017-08-10 23:37:06 +02:00
3 changed files with 2 additions and 16 deletions
@@ -0,0 +1,2 @@
CODE_SIGN_IDENTITY = iPhone Distribution
PROVISIONING_PROFILE_SPECIFIER = Q3U792Z354/SAP Sail InSight
@@ -1,12 +0,0 @@
package com.sap.sailing.gwt.ui.raceboard;
/**
* This class contains convenience boolean flags to enable/ disable features in experimental phase.
*/
public class ExperimentalFeatures {
/**
* Enables/disables user management on race board by showing/hiding the respective menu in the upper right corner.
*/
public static final boolean SHOW_USER_MANAGEMENT_ON_RACEBOARD = true;
}
@@ -432,10 +432,6 @@ public class RaceBoardPanel
FlyoutAuthenticationView display = new RaceBoardAuthenticationView();
new GenericAuthentication(userService, userManagementMenuView, display,
SailingAuthenticationEntryPointLinkFactory.INSTANCE, raceBoardResources);
if (!ExperimentalFeatures.SHOW_USER_MANAGEMENT_ON_RACEBOARD) {
regattaAndRaceTimeInformationHeader.getElement().getStyle().setRight(10, Unit.PX);
userManagementMenuView.asWidget().removeFromParent();
}
}
@SuppressWarnings("unused")