Esempio n. 1
0
  public final void reloadConfig() {
    WebUtils.springInjection(this);

    ehourConfig = new EhourConfigCache(unCachedEhourConfig);

    if (!ehourConfig.isDontForceLanguage()) {
      setLocale(ehourConfig.getLanguageLocale());
    }
  }
Esempio n. 2
0
 protected boolean allowedToImpersonate(User userToImpersonate) {
   return SecurityRules.allowedToModify(
       getUser(), userToImpersonate, ehourConfig.isSplitAdminRole());
 }