[Flow] two packages, authentication fails

mario chiari m at mariochiari.net
Sun Apr 21 16:23:53 CEST 2013


Dear All,

I need and appreciate some help on authentication and authorization.

Under flow I have Blog and a toy package of mine, call it Clog. Clog is
similar to Blog itself. So you may think of two different copies of Blog
under the same Flow. 

Also,  I define two accounts, 
createAccountWithPassword('EditorBlog', 'password',
array('Editor_Blog'), 'BlogProvider');  and
createAccountWithPassword('EditorClog', 'password',
array('Editor_Clog'), 'ClogProvider');
and pairs of files settings.yaml and policy.yaml.

I wish to login within Blog as EditorBlog, and within Clog as
EditorClog.

What it happens is that EditorClog is authenticated fine, but EditorBlog
is always refused and stirs \TYPO3\Flow\Security\Exception
\AuthenticationRequiredException.

Indeed, I am not even sure why it is not the other way around.

thanks for your help
cheers
mario 









More information about the Flow mailing list