We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d607364 commit 71e12bbCopy full SHA for 71e12bb
docs/modules/ROOT/pages/servlet/authorization/method-security.adoc
@@ -695,7 +695,7 @@ Kotlin::
695
----
696
@Component
697
open class BankService {
698
- @PreFilter("filterObject.owner == authentication.name")
+ @PostFilter("filterObject.owner == authentication.name")
699
fun readAccounts(vararg ids: String): Collection<Account> {
700
// ... the return value will be filtered to only contain the accounts owned by the logged-in user
701
return accounts
0 commit comments