Skip to content

Commit

Permalink
Merge pull request #275 from ita-social-projects/user-score
Browse files Browse the repository at this point in the history
Added permision
  • Loading branch information
ospodaryk authored Sep 14, 2023
2 parents a3aded5 + f715104 commit 83c1342
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/java/greencity/config/SecurityConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ protected void configure(HttpSecurity http) throws Exception {
.permitAll()
.antMatchers(HttpMethod.PUT,
"/user/user-rating")
.hasAnyRole(ADMIN, MODERATOR, EMPLOYEE, UBS_EMPLOYEE)
.hasAnyRole(ADMIN, MODERATOR, EMPLOYEE, UBS_EMPLOYEE, USER)
.anyRequest().hasAnyRole(ADMIN);
}

Expand Down

0 comments on commit 83c1342

Please sign in to comment.