Changeset ef84238 for src/main/java/com/example/moviezone/config
- Timestamp:
- 02/10/23 11:18:48 (21 months ago)
- Branches:
- master
- Children:
- 04153a9
- Parents:
- 7926d68
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/com/example/moviezone/config/WebSecurityConfig.java
r7926d68 ref84238 33 33 .authorizeRequests() 34 34 .antMatchers("/","/films","/home/projections","/home/events","/home/getProjections/**","/home/films","/home/getFilm/**","/getFilm/**","/home/getEvent/**","/getEvent/**","/login","/events","/projections" ,"/home", "/assets/**", "/register", "/api/**").permitAll() 35 .antMatchers("/home/getSeats/**","/myTickets","/home/add Rating/**","/addRating/**","/getProjection/**","/home/makeReservation","/profileUser").hasRole("USER")35 .antMatchers("/home/getSeats/**","/myTickets","/home/addInterestedEvent/**","/home/deleteInterestedEvent/**","/home/addRating/**","/addRating/**","/getProjection/**","/home/makeReservation","/profileUser").hasRole("USER") 36 36 .antMatchers("/**").hasRole("ADMIN") 37 37 .anyRequest()
Note:
See TracChangeset
for help on using the changeset viewer.