소스 검색

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