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
bug #48119 [FrameworkBundle][Lock] Allow to disable lock without defining a resource (MatTheCat)
This PR was merged into the 4.4 branch.
Discussion
----------
[FrameworkBundle][Lock] Allow to disable lock without defining a resource
| Q | A
| ------------- | ---
| Branch? | 4.4
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Tickets | N/A
| License | MIT
| Doc PR | N/A
While answering #48115 I noticed a resource is mandatory in lock’s configuration even if it’s disabled because of `requiresAtLeastOneElement`. I replaced it with a validation rule which takes `enabled` into account.
Commits
-------
0aad8c8 Allow to disable lock without defining a resource
0 commit comments