Open trtong opened 5 years ago
This was addressed in the jhipster video on how to change this: https://www.youtube.com/watch?v=-VQ_SVkaXbs
We'll need to update the methods in the resource/repo's to check valid login and then grab by specific ID.
A lot here, but focus on the entryRepository.findByBlogUserLoginOrderByDateDesc(SecurityUtils.getCurrentUserLogin().orElse(null), pageable);
Remember the custom JPA methods lecture? We can make sure specific accounts/transactions are shown by adding our own custom queries as such.
This can be changed in the respective controllers/repositories.
Easy fix.