Skip to content

Commit 5bbb16e

Browse files
xavrensoyuka
andauthored
docs(security): update ApiProperty variables (#1351)
Co-authored-by: Antoine Bluchet <[email protected]>
1 parent dfc88c1 commit 5bbb16e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

core/security.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,7 @@ In this example:
103103
Available variables are:
104104

105105
* `user`: the current logged in object, if any
106-
* `object`: the current resource, or collection of resources for collection operations
107-
* `request` (only at the resource level): the current request
106+
* `object`: the current resource class during denormalization, the current resource during normalization, or collection of resources for collection operations
108107

109108
Access control checks in the `security` attribute are always executed before the [denormalization step](serialization.md).
110109
It means than for `PUT` or `PATCH` requests, `object` doesn't contain the value submitted by the user, but values currently stored in [the persistence layer](data-persisters.md).

0 commit comments

Comments
 (0)