#7 -- fix url, add plan
This commit is contained in:
parent
72b9dc2a90
commit
0a7040d4c0
@ -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()
|
||||
|
BIN
src/main/resources/public/docs/plan2022.docx
Normal file
BIN
src/main/resources/public/docs/plan2022.docx
Normal file
Binary file not shown.
@ -7,8 +7,11 @@
|
||||
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-spring4-4.dtd">
|
||||
<html xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout" layout:decorate="~{default}">
|
||||
<div class="container" layout:fragment="content">
|
||||
<a href="/public/docs/polozh.docx">
|
||||
<a href="/docs/polozh.docx">
|
||||
Положение
|
||||
</a>
|
||||
<a href="/docs/plan2022.docx">
|
||||
План заседаний на 2022 год.
|
||||
</a>
|
||||
</div>
|
||||
</html>
|
||||
|
Loading…
Reference in New Issue
Block a user