[TYPO3-50-general] Generic solution for disabled/enabled records
typo3 at kj187.de
Thu Nov 1 14:15:48 CET 2012
hum.. it doesnt work, did i forget something ?
This is my current Policy.yaml
Kj187_Tutorials_Domain_Model_Tutorial_Disabled: 'this.disabled ==
Am 01.11.12 08:29, schrieb Pankaj Lele:
> Hi Julian,
>> what is the best way to get a generic way for disabled/enabled records
>> (like a comment or a tutorial for example) ?
>> For example, everyone can write a comment in a blog, but all new
>> comments must be approved by an admin. So all new comments are stored
>> with a disabled = 1 flag.
>> I think the best way is to resolve this via AOP. Are there any ideas or
>> existing solutions ?
> I think the best way would be to do it with Security policies. So with
> proper content security definitions  you can define Normal users can
> only read disabled = 0 objects and Admins can read any objects.
More information about the TYPO3-project-5_0-general