ソースを参照

Merge branch '6.3.x'

Josh Cummings 1 年間 前
コミット
e0be46ea84

+ 1 - 1
docs/modules/ROOT/pages/servlet/authorization/method-security.adoc

@@ -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)
 ----
 ----
 ======
 ======