浏览代码

Merge branch '6.4.x'

Josh Cummings 6 月之前
父节点
当前提交
ba273aba43
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/modules/ROOT/pages/servlet/authorization/method-security.adoc

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

@@ -697,7 +697,7 @@ Kotlin::
 ----
 @Component
 open class BankService {
-	@PreFilter("filterObject.owner == authentication.name")
+	@PostFilter("filterObject.owner == authentication.name")
 	fun readAccounts(vararg ids: String): Collection<Account> {
         // ... the return value will be filtered to only contain the accounts owned by the logged-in user
         return accounts