[Flow] Content Restriction for Accounts

Bjoern Haverland mrwhy at arcor.de
Wed Aug 28 19:57:47 CEST 2013


Hi Christian,

for me it works as expected.

Is this one rule:?

'this.title == "Foo"', 'this.hidden == TRUE', 'TRUE == TRUE"'

Then I think you should use && or ||  and so on for the logic.

Maybe you should clear your caches and do a doctrine:update.
I also have had a problem with this because my changes haven´t been used 
without clearing the cache. After this and a doctrine:update the 
typo3_flow_security_policy_role table was filled with my roles => my 
rules are working.

Best regards

Björn



Am 28.08.2013 14:52, schrieb Christian Eßl:
> I tested around with other models and it looks like in TYPO3 Flow 2.0 
> content security doesn't work at all. At least not as it is described 
> in the docs:
> http://docs.typo3.org/flow/TYPO3FlowDocumentation/TheDefinitiveGuide/PartIII/Security.html#content-security 
>
>
> As soon as I write a rule like 'this.title == "Foo"', 'this.hidden == 
> TRUE', 'TRUE == TRUE"' and add it a role in my acl, I just get empty 
> lists with this role, even though there are objects, that accomplish 
> these rules. It doesn't even matter what I write in the rules.
>
> Can anyone confirm this? Then what is the suggested way to do content 
> security in TYPO3 Flow 2.0?
> _______________________________________________
> Flow mailing list
> Flow at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow
>



More information about the Flow mailing list