Changeset 73f0dbc for src/main/java/com/example/moviezone/config
- Timestamp:
- 02/10/23 01:18:53 (23 months ago)
- Branches:
- master
- Children:
- 7926d68
- Parents:
- 01a1ca6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/com/example/moviezone/config/WebSecurityConfig.java
r01a1ca6 r73f0dbc 32 32 http.csrf().disable() 33 33 .authorizeRequests() 34 .antMatchers("/","/films","/home/projections","/home/events","/home/getProjections/**","/home/films","/ getFilm/**","/getEvent/**","/login","/events","/projections" ,"/home", "/assets/**", "/register", "/api/**").permitAll()35 .antMatchers("/home/getSeats/**","/myTickets","/ getProjection/**","/home/makeReservation").hasRole("USER")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/addRating/**","/addRating/**","/getProjection/**","/home/makeReservation").hasRole("USER") 36 36 .antMatchers("/**").hasRole("ADMIN") 37 37 .anyRequest()
Note:
See TracChangeset
for help on using the changeset viewer.