Selaa lähdekoodia

Fixed document error

Henry Lin 7 vuotta sitten
vanhempi
commit
7e52fe67f4

+ 1 - 1
docs/manual/src/docs/asciidoc/_includes/authorization/expression-based.adoc

@@ -35,7 +35,7 @@ This can be customized by modifying the `defaultRolePrefix` on `DefaultWebSecuri
 | Returns `true` if the current principal has the specified authority.
 | Returns `true` if the current principal has the specified authority.
 
 
 | `hasAnyAuthority([authority1,authority2])`
 | `hasAnyAuthority([authority1,authority2])`
-| Returns `true` if the current principal has any of the supplied roles (given as a comma-separated list of strings)
+| Returns `true` if the current principal has any of the supplied authorities (given as a comma-separated list of strings)
 
 
 | `principal`
 | `principal`
 | Allows direct access to the principal object representing the current user
 | Allows direct access to the principal object representing the current user