diff --git a/src/main/java/ru/ulstu/configuration/SecurityConfiguration.java b/src/main/java/ru/ulstu/configuration/SecurityConfiguration.java index 19a8a6f..5da4970 100644 --- a/src/main/java/ru/ulstu/configuration/SecurityConfiguration.java +++ b/src/main/java/ru/ulstu/configuration/SecurityConfiguration.java @@ -45,7 +45,8 @@ public class SecurityConfiguration extends WebSecurityConfigurerAdapter { log.debug("Security enabled"); http.authorizeRequests() .antMatchers("/").permitAll() - .antMatchers("/login", "/index", "/news/**", "/meetings/**", "/files/**", "/docs/**", "/organizers", "/webjars/**", "/h2-console/*", "/h2-console").permitAll() + .antMatchers("/login", "/index", "/news/**", "/meetings/**", "/files/**", "/docs/**", + "/public/**", "/organizers", "/webjars/**", "/h2-console/*", "/h2-console").permitAll() .antMatchers("/swagger-ui.html").hasAuthority(UserRoleConstants.ADMIN) .anyRequest().authenticated() .and() diff --git a/src/main/resources/public/docs/plan2022.docx b/src/main/resources/public/docs/plan2022.docx new file mode 100644 index 0000000..fb2a0f7 Binary files /dev/null and b/src/main/resources/public/docs/plan2022.docx differ diff --git a/src/main/resources/templates/docs.html b/src/main/resources/templates/docs.html index 7a7d63b..6d13917 100644 --- a/src/main/resources/templates/docs.html +++ b/src/main/resources/templates/docs.html @@ -7,8 +7,11 @@