src/main/kotlin/de/florianschmitt/system/util/authorizationannotations.kt
package de.florianschmitt.system.util
import org.springframework.security.access.prepost.PreAuthorize
@Retention(AnnotationRetention.RUNTIME)
@Target(AnnotationTarget.CLASS, AnnotationTarget.FUNCTION)
@PreAuthorize("hasRole('ROLE_REQUESTER')")
annotation class HasRequesterRole