|
|
@@ -88,10 +88,11 @@ public class SpringSecurityConfiguration extends WebSecurityConfigurerAdapter {
|
|
|
"/api/announcement",
|
|
|
"/api/announcement/getAllByCourseId",
|
|
|
"/api/announcement/getUnreadByUserId",
|
|
|
+ "/api/announcement/read",
|
|
|
"/api/message",
|
|
|
"/api/message/getUnreadByUser",
|
|
|
"/api/message/getByCourseId"
|
|
|
- )
|
|
|
+ )
|
|
|
.permitAll() // authenticate
|
|
|
.and()
|
|
|
.authorizeRequests()
|