This project is for education and learning purpose. It is a Java web app built in Eclipse using Maven and Spring Boot.
I need to using Spring security to set access to web pages based on role. I have two roles, ADMIN and USER. I tried several ways, but I could solve part of the problem. Hibernate is set to create all tables in MYSQL.
I need help to make the following:
USER role need to login to see all pages but should not be able to add or delete employees, projects, clients or consultants.
ADMIN role can do anything.