[Neos] Re: Front-end user groups

Olle Haerstedt o.haerstedt at bitmotion.de
Thu Jan 29 16:59:16 CET 2015


Quote: Ardis Markss (markssar) wrote on Thu, 29 January 2015 16:26
----------------------------------------------------
> Quote: Bastian Waidelich (bwaidelich) wrote on Mon, 26 January 2015 18:03
> ----------------------------------------------------
> > On 26.01.15, at 16:37, Olle Haerstedt wrote:
> > 
> > Hi Olle ;)
> > 
> > > Is there any progress of front-end user groups in Neos? If not, how
> > > would one implement it? Do the database support those things now?
> > 
> > You already found the FE-Login package I started a while ago[1].
> > It's just a very basic prototype that lacks important features, mostly 
> > due to various Neos & Flow caches ignoring the currently authenticated 
> > roles.
> > 
> > We plan to extend Flow & Neos in that regard so that you can protect 
> > arbitrary sub-trees via Policy.yaml[2] but it still requires some work 
> > and we're currently lacking resources so I can't promise that it will 
> > make it into the upcoming release..
> > 
> > Best,
> > 
> > 
> > [1] https://github.com/bwaidelich/Wwwision.Neos.FrontendLogin
> > [2] https://jira.typo3.org/browse/NEOS-433
> > 
> > -- 
> > Bastian Waidelich
> ----------------------------------------------------
> Hi Bastian
> 
> I try steps from (1) https://github.com/bwaidelich/Wwwision.Neos.FrontendLogin.
> 
> After command ./flow user:create member password "Demo" "Frontend User" --roles "TYPO3.NeosDemoTypo3Org:Member" --authentication-provider Typo3FrontendProvider
> 
> received error:
> 
> Uncaught Exception: TYPO3\Flow\Core\Booting\Exception\SubProcessException
> 
> Message
>   
>   Uncaught Exception:
>   TYPO3\Flow\Configuration\Exception\InvalidConfigurationException
>   
>   Message
>     Roles defined in a package policy must not be qualified (that is, using
>     the dot notation), but the role "TYPO3.Flow:Everybody" is (in package
>     "TYPO3.NeosDemoTypo3Org"). Please use the short notation with only the
>     role name (for example "Administrator").
>   
>   More Information
>     Exception code 1365447412
>     File          
>   Packages/Framework/TYPO3.Flow/Classes/TYPO3/Flow/Configuration/ConfigurationManager.php
>   line 564
>     Reference code 20150129170945f4167f
> 
> Regards
> Ardis
> 
----------------------------------------------------

Hi again!

You could also check if your configuration is correct with

/flow configuration:validate

Olle


More information about the Neos mailing list