File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
backend/src/main/java/webapp3/webapp3/security Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ protected void configure(HttpSecurity http) throws Exception {
59
59
//administrator
60
60
http .authorizeRequests ().antMatchers (HttpMethod .GET , "/api/users/admin/statistics" ).hasRole ("administrator" );
61
61
http .authorizeRequests ().antMatchers (HttpMethod .GET , "/api/users/members/statistics" ).hasRole ("administrator" );
62
- http .authorizeRequests ().antMatchers (HttpMethod .GET , "/api/users/monitors/ " ).hasRole ("administrator" );
62
+ http .authorizeRequests ().antMatchers (HttpMethod .GET , "/api/users/monitors" ).hasRole ("administrator" );
63
63
http .authorizeRequests ().antMatchers (HttpMethod .GET , "/api/users/monitors/{id}" ).hasRole ("administrator" );
64
64
http .authorizeRequests ().antMatchers (HttpMethod .GET , "/api/users/members" ).hasRole ("administrator" );
65
65
You can’t perform that action at this time.
0 commit comments