class UserRoleFromContextService {

  public UserContextRole getUserRoleWithoutContext() {
    UUID currentUserId = userService.getCurrentUser().getId();
    if (isCurrentUserAdmin(currentUserId)) {
      return UserContextRole.ADMIN;
    }
    return UserContextRole.USER;
  }

  @Autowired public  UserRoleFromContextService(
      UnitRepository<OkrChildUnit> unitRepository,
      ObjectiveRepository objectiveRepository,
      KeyResultRepository keyResultRepository,
      NoteRepository noteRepository,
      AdminUserRepository adminUserRepository,
      UserService userService);

}