You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: core/subresources.md
+9-1Lines changed: 9 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -339,7 +339,7 @@ In order to use Symfony's built-in security system on subresources the security
339
339
340
340
To restrict the access to a subresource based on the parent object simply use the Symfony expression language as you would do normally, with the exception that the name defined in `toProperty` or `fromProperty` is used to access the object.
341
341
342
-
Alternatively you can also use the `securityObjectName` to set a custom name
342
+
Alternatively you can also use the `securityObjectName` to set a custom name.
343
343
344
344
```php
345
345
<?php
@@ -357,3 +357,11 @@ class Company {
357
357
// ...
358
358
}
359
359
```
360
+
361
+
This is currently an experimental feature disabled by default. To enable it please set `enable_link_security` to true:
0 commit comments