No description
Find a file
Marvin Kuhl 5d8e93084b TASK: Apply migration Neos.Flow-20201109224100
Adjust DB migrations to Doctrine Migrations 3.0

Note: This migration did not produce any changes, so the commit simply
marks the migration as applied. This makes sure it will not be applied
again.
2022-05-19 11:51:43 +02:00
Classes Check first, then wait 2022-05-16 12:08:39 +02:00
Configuration Adding a functional test which covers all functions 2022-05-17 09:54:09 +02:00
Tests/Functional Adding a functional test which covers all functions 2022-05-17 09:54:09 +02:00
composer.json TASK: Apply migration Neos.Flow-20201109224100 2022-05-19 11:51:43 +02:00
README.md revised code 2022-04-20 17:36:30 +02:00

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:
      MyLock: "method(My\\Package\\Controller\\MyController->myAction())"