Ignore:
Timestamp:
01/04/23 02:56:41 (23 months ago)
Author:
andrejtodorovski <82031894+andrejtodorovski@…>
Branches:
main
Children:
7d43957
Parents:
ae042f4
Message:

Fixed reviews, repairs, orders by logged user

File:
1 edited

Legend:

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

    rae042f4 rab952ab  
    2929                .authorizeRequests()
    3030                .antMatchers("/", "/products", "/services", "/filtered", "/login", "/register").permitAll()
    31                 .antMatchers("/orders/*","/repairs/*","/reviews/*","/part/*").hasRole("CLIENT")
     31                .antMatchers("/orders","/repairs","/reviews","/part/*").hasRole("CLIENT")
    3232                .anyRequest()
    3333                .authenticated()
Note: See TracChangeset for help on using the changeset viewer.