Closed markus-moser closed 2 weeks ago
"hasWorkflowWithPermissions" is not set correctly all the time.
e.g. when workflow has expression supports strategy and uses is_fully_authenticated() in expression (e.g. the asset workflow in the demo).
Then, when saving the asset in pimcore backend (with existing admin session), hasWorkflowWithPermissions is set correctly into index.
When saving asset via API or just updating index via commands, hasWorkflowWithPermissions is not set correctly.
Fixes https://github.com/pimcore/portal-engine/issues/289
Issues 0 New issues 0 Accepted issues
Measures 0 Security Hotspots 0.0% Coverage on New Code 0.0% Duplication on New Code
See analysis details on SonarCloud
"hasWorkflowWithPermissions" is not set correctly all the time.
e.g. when workflow has expression supports strategy and uses is_fully_authenticated() in expression (e.g. the asset workflow in the demo).
Then, when saving the asset in pimcore backend (with existing admin session), hasWorkflowWithPermissions is set correctly into index.
When saving asset via API or just updating index via commands, hasWorkflowWithPermissions is not set correctly.
Fixes https://github.com/pimcore/portal-engine/issues/289