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.
2 parents 55b83a0 + 71e12bb commit ba273abCopy full SHA for ba273ab
docs/modules/ROOT/pages/servlet/authorization/method-security.adoc
@@ -697,7 +697,7 @@ Kotlin::
697
----
698
@Component
699
open class BankService {
700
- @PreFilter("filterObject.owner == authentication.name")
+ @PostFilter("filterObject.owner == authentication.name")
701
fun readAccounts(vararg ids: String): Collection<Account> {
702
// ... the return value will be filtered to only contain the accounts owned by the logged-in user
703
return accounts
0 commit comments