Adding small explanation
This commit is contained in:
parent
bc92481064
commit
06be17b5bd
1 changed files with 13 additions and 0 deletions
13
README.md
Normal file
13
README.md
Normal file
|
@ -0,0 +1,13 @@
|
|||
DigiComp.FlowSessionLock
|
||||
------------------------
|
||||
|
||||
By default the session established by Flow is not "protected" in any way.
|
||||
This package restricts every request to load the session only, if there are no other requests having it in access currently.
|
||||
It allows to set custom pointcut which will set the session in "ReadOnly" mode, which allows concurrent requests to read, but disallows the current request to write the session.
|
||||
|
||||
If you want to allow concurrent access somewhere, you can add your trigger pointcut in Settings.yaml like such:
|
||||
|
||||
DigiComp:
|
||||
FlowSessionLock:
|
||||
readOnlyExpressions:
|
||||
'AcmeLock': 'method(Acme/SuperPackage/Controller/ConcurrentController->concurrentAction())'
|
Loading…
Reference in a new issue