Skip to content

Commit

Permalink
#107 - /api/attendees should be accessed only in a BasicAuth context,…
Browse files Browse the repository at this point in the history
… from check-in operators and/or sponsors

(cherry picked from commit 1d11e76)
  • Loading branch information
cbellone committed Mar 21, 2016
1 parent 2365e93 commit ba4924a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/alfio/config/WebSecurityConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ protected void configure(HttpSecurity http) throws Exception {
.antMatchers(ADMIN_API + "/**").hasAnyRole(ADMIN, OWNER)
.antMatchers("/admin/**/export/**").hasAnyRole(ADMIN, OWNER)
.antMatchers("/admin/**").hasAnyRole(ADMIN, OWNER, OPERATOR)
.antMatchers("/api/attendees/sponsor-scan").denyAll()
.antMatchers("/api/attendees/**").denyAll()
.antMatchers("/**").permitAll()
.and()
.formLogin()
Expand Down

0 comments on commit ba4924a

Please sign in to comment.