11 lines
295 B
Kotlin
11 lines
295 B
Kotlin
package ltd.hlaeja.security.authorize
|
|
|
|
import org.springframework.security.config.web.server.ServerHttpSecurity.AuthorizeExchangeSpec
|
|
|
|
fun AuthorizeExchangeSpec.adminPaths(): AuthorizeExchangeSpec.Access = pathMatchers(
|
|
"/accounts/**",
|
|
"/typse/**",
|
|
"/devices/**",
|
|
"/nodes/**",
|
|
)
|