[Flow] Policy and Command Controller

Beat Guggisberg beat.guggisberg at eglionline.ch
Wed Dec 17 11:12:56 CET 2014


Hello Bastian

This looks for me like a major flaw in the Policy design.
That way its only useable when no Command Controller works with any code touched by any Policy Rules.
To use your workaround for every function touched by Policy is realy no way to go for me.
Seems like i will stash my backendsecurity and only work with frontendsecurity till this is solved.

Thanks a lot Bastian.

Am Mittwoch, 17. Dezember 2014 10:42 CET, Bastian Waidelich <bastian at typo3.org> schrieb:
 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
_______________________________________________
Flow mailing list
Flow at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/flow
 
--

Egli's frische Küchenkräuter AG
Beat Guggisberg
Informatik
Riedeggweg 70c
CH-3020 Riedbach

direkt: +41 31 926 66 47
Zentrale: +41 31 926 66 66
Fax: +41 31 926 66 77
beat.guggisberg at eglionline.ch
www.eglionline.ch


More information about the Flow mailing list