Update CommandsToServerController route and adjust security config to permit access to the new route
This commit is contained in:
1 parent
b71a2f19b8
commit
4f67228c39
2 files changed
+2
-4
No files matched your search
@@ -71,6 +71,7 @@ public class SecurityConfig {
|
||||
.requestMatchers("/api/files/download/**").hasAuthority(PermissionClaimDto.HEAD_MOD.getValue())
|
||||
.requestMatchers("/api/history/admin/**").hasAuthority(PermissionClaimDto.HEAD_MOD.getValue())
|
||||
.requestMatchers("/api/login/userLogin/**").permitAll()
|
||||
.requestMatchers("/api/chat/server/send/**").permitAll()
|
||||
.anyRequest().permitAll()
|
||||
)
|
||||
.csrf(AbstractHttpConfigurer::disable)
|
||||
|
||||
Reference in new issue
Block a user