[Flow] Policy and Command Controller

Bastian Waidelich bastian at typo3.org
Wed Dec 17 10:42:41 CET 2014


Bastian Waidelich wrote:

> $this->securityContext->withoutAuthorizationChecks(function(Druckauftrag
> $druckauftrag) use ($) {
>      $druckauftrag->setBenutzername('xyz');
> });

Just to avoid confusion.. This should have been:

$this->securityContext->withoutAuthorizationChecks(function() use 
(Druckauftrag $druckauftrag) {
     $druckauftrag->setBenutzername('xyz');
});

of course

-- 
Bastian Waidelich


More information about the Flow mailing list