Browse Source

Merge branch '6.3.x'

pull/15469/head
Josh Cummings 2 years ago
parent
commit
e0be46ea84
No known key found for this signature in database
GPG Key ID: A306A51F43B8E5A5
  1. 2
      docs/modules/ROOT/pages/servlet/authorization/method-security.adoc

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

@ -1053,7 +1053,7 @@ Kotlin:: @@ -1053,7 +1053,7 @@ Kotlin::
@Target(ElementType.METHOD, ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@PreAuthorize("hasRole('{value}')")
annotation class IsAdmin(val value: String)
annotation class HasRole(val value: String)
----
======

Loading…
Cancel
Save