예제 #1
0
  public final void reloadConfig() {
    WebUtils.springInjection(this);

    ehourConfig = new EhourConfigCache(unCachedEhourConfig);

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