mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-26 22:02:41 +00:00
Merge branch '6.3.x'
This commit is contained in:
commit
e0be46ea84
@ -1053,7 +1053,7 @@ Kotlin::
|
|||||||
@Target(ElementType.METHOD, ElementType.TYPE)
|
@Target(ElementType.METHOD, ElementType.TYPE)
|
||||||
@Retention(RetentionPolicy.RUNTIME)
|
@Retention(RetentionPolicy.RUNTIME)
|
||||||
@PreAuthorize("hasRole('{value}')")
|
@PreAuthorize("hasRole('{value}')")
|
||||||
annotation class IsAdmin(val value: String)
|
annotation class HasRole(val value: String)
|
||||||
----
|
----
|
||||||
======
|
======
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user