[Flow] Entity Security Syntax

Andreas Förthner andreas.foerthner at netlogix.de
Thu Mar 27 09:42:29 CET 2014


Hi Christian,

please be aware that content security will not reliably work when you¹re
using doctrine persistence (what you most likely do). We are currently in
the process of restructuring the policy component, which will in the end
work fully with doctrine. For now, please use the feature with caution, as
object that are e.g. lazy loaded by doctrine will not get filtered!

Greets Andi

Am 26.03.14 15:13 schrieb "Christian Loock" unter <brainshack at gmail.com>:

>Thanks a lot!
>
>
>2014-03-26 14:49 GMT+01:00 Alexander Berl <a.berl at outlook.com>:
>
>> Hi Christian,
>>
>> The syntax for the definitions in the Policy.yaml is the same as for the
>> AOP Pointcut Expressions used within the evalute designator:
>> See
>>
>>
>>http://docs.typo3.org/flow/TYPO3FlowDocumentation/TheDefinitiveGuide/Part
>>III/AspectOrientedProgramming.html#evaluate
>>
>> The supported operators are:
>> ==, !=, <=, >=, <, > as well as "in" (element in collection), "contains"
>> (collection contains element) and "matches" (collection matches
>> collection, ie. they have the same items)
>>
>> In all cases a collection can also be a simple array.
>>
>> Regards,
>> Alexander
>>
>>
>> Am 25.03.2014 14:07, schrieb Christian Loock:
>> > Hello,
>> >
>> > is there a documentation of what can be done inside the entity
>>definition
>> > inside your Policy.yam
>> >
>> > For example:
>> >
>> > I have a field languages in my security context and want to compare
>>and
>> > language object to this collection. Somthing like this:
>> >
>> > Acme_MyPackage_Language: 'in_array(current.securityContext.languages,
>> this')
>> >
>> > Would this be possible and where can i read what syntax is supported?
>> >
>> > Greetings,
>> >
>> > Christian
>> >
>>
Andreas Förthner
Leiter Web-Entwicklung

Telefon: +49 (911) 539909 - 0
E-Mail: andreas.foerthner at netlogix.de
Website: media.netlogix.de



-----------------------------
Steigern Sie Ihre Performance
Melden Sie sich an zum kostenlosen Webinar VMware / vSphere Operations Management am 01. April 2014 und lernen Sie, wie Sie Ihre Hardware effektiver nutzen.
Jetzt anmelden unter http://it-training.netlogix.de/angebote/webinare/vmware-vsphere-with-operations-management
------------------------------------
Microsoft Office 365 - Alles Cloud, ...oder was?
Erfahren Sie bei unserem Office 365 Event am 04. April 2014, welche Chancen Office 365 für Ihr Unternehmen bietet.
Jetzt anmelden unter http://it-training.netlogix.de/angebote/events/office-365-event
-----------------------------



--
netlogix GmbH & Co. KG
IT-Services | IT-Training | Media
Neuwieder Straße 10 | 90411 Nürnberg
Telefon: +49 (911) 539909 - 0 | Fax: +49 (911) 539909 - 99
E-Mail: info at netlogix.de | Internet: http://www.netlogix.de

netlogix GmbH & Co. KG ist eingetragen am Amtsgericht Nürnberg (HRA 13338)
Persönlich haftende Gesellschafterin: netlogix Verwaltungs GmbH (HRB 20634)
Umsatzsteuer-Identifikationsnummer: DE 233472254
Geschäftsführer: Stefan Buchta, Matthias Schmidt



_______________________________________________
>> Flow mailing list
>> Flow at lists.typo3.org
>> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow
>>
>_______________________________________________
>Flow mailing list
>Flow at lists.typo3.org
>http://lists.typo3.org/cgi-bin/mailman/listinfo/flow



More information about the Flow mailing list