Changeset 1fcb086 for src


Ignore:
Timestamp:
02/28/23 13:26:09 (22 months ago)
Author:
DenicaKj <dkorvezir@…>
Branches:
master
Children:
7215773
Parents:
f214198
Message:

Update WebSecurityConfig.java

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/java/com/example/moviezone/config/WebSecurityConfig.java

    rf214198 r1fcb086  
    3232        http.csrf().disable()
    3333                .authorizeRequests()
    34 <<<<<<< Updated upstream
    3534                .antMatchers("/","/films","/home/projections","/home/events","/home/getProjections/**","/home/films","/home/getFilm/**","/getFilm/**","/home/getEvent/**","/getEvent/**","/login","/events","/projections" ,"/home", "/assets/**", "/register", "/registerWorker","/api/**").permitAll()
    36 =======
    3735                .antMatchers("/","/finishRegister","/registerWorker","/films","/home/projections","/home/events","/home/getProjections/**","/home/films","/home/getFilm/**","/getFilm/**","/home/getEvent/**","/getEvent/**","redirect:/login","/login","/events","/projections" ,"/home", "/assets/**", "/register", "/api/**").permitAll()
    38 >>>>>>> Stashed changes
    3936                .antMatchers("/home/getSeats/**","/myTickets","/home/addInterestedEvent/**","/home/deleteInterestedEvent/**","/home/addRating/**","/addRating/**","/getProjection/**","/home/makeReservation","/profileUser").hasRole("USER")
    4037                .antMatchers("/**").hasRole("ADMIN")
Note: See TracChangeset for help on using the changeset viewer.