public final void reloadConfig() { WebUtils.springInjection(this); ehourConfig = new EhourConfigCache(unCachedEhourConfig); if (!ehourConfig.isDontForceLanguage()) { setLocale(ehourConfig.getLanguageLocale()); } }
protected boolean allowedToImpersonate(User userToImpersonate) { return SecurityRules.allowedToModify( getUser(), userToImpersonate, ehourConfig.isSplitAdminRole()); }