- Timestamp:
- 01/07/23 01:51:16 (23 months ago)
- Branches:
- main
- Children:
- ed7ef92
- Parents:
- 89865ae
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/com/example/autopartz/config/WebSecurityConfig.java
r89865ae r4d67d70 30 30 .antMatchers("/", "/products", "/services", "/filtered", "/login", "/register","/registerWarehouseman","/finishRegister","/test/*","/access_denied","/carCategoryReport","/partManufacturersReport","/mostPurchasedPart").permitAll() 31 31 .antMatchers("/orders","/repairs","/reviews","/part/*","/currentOrder","/addCarSampleForUser","/repairs/addReview/*").hasRole("CLIENT") 32 .antMatchers("/viewUsers","/approve/*").hasRole("ADMIN") 32 .antMatchers("/viewUsers","/approve/*","/addPart").hasRole("ADMIN") 33 .antMatchers("/myWarehouseReport","myWarehouse").hasRole("WAREHOUSEMAN") 33 34 .anyRequest() 34 35 .authenticated()
Note:
See TracChangeset
for help on using the changeset viewer.