Nantes Université

Skip to content
Extraits de code Groupes Projets

UNOTOPLYS-355 : corrections pour donner l'accès à la synthèse à tous les comptes de l'application

Fusionnées Alexandre Desmontils a demandé de fusionner feature/UNOTOPLYS-355_ajout_partage_synthese vers develop
1 fil de conversation non résolu
11 fichiers
+ 37
19
Comparer les modifications
  • Côte à côte
  • En ligne
Fichiers
11
@@ -4,6 +4,8 @@ import com.unantes.orientactive.domain.User;
@@ -4,6 +4,8 @@ import com.unantes.orientactive.domain.User;
import java.time.Instant;
import java.time.Instant;
import java.util.List;
import java.util.List;
import java.util.Optional;
import java.util.Optional;
 
 
import com.unantes.orientactive.security.permissions.RoleRepository;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.domain.Pageable;
@@ -17,7 +19,7 @@ import org.springframework.stereotype.Repository;
@@ -17,7 +19,7 @@ import org.springframework.stereotype.Repository;
* Spring Data JPA repository for the {@link User} entity.
* Spring Data JPA repository for the {@link User} entity.
*/
*/
@Repository
@Repository
public interface UserRepository extends JpaRepository<User, Long> {
public interface UserRepository extends JpaRepository<User, Long>, RoleRepository {
String USERS_BY_LOGIN_CACHE = "usersByLogin";
String USERS_BY_LOGIN_CACHE = "usersByLogin";
String USERS_BY_ID_CACHE = "usersById";
String USERS_BY_ID_CACHE = "usersById";
Chargement en cours