[FLOW3-general] Feedback on using the security framework with resources
Andreas Förthner
andreas.foerthner at netlogix.de
Mon Sep 10 09:16:10 CEST 2012
Hi Francois,
with Doctrine query filters this will be possible. The current implementation just hooks into QOM-Queries, and the lazy-loading of objects ist done by Doctrine without another QOM query. Thus the policy is not applied there. All in all I can say, we really need the doctrine implemenation, but this part turned out way more complex than I hoped. However, it is possible.
Unfortunately I couln't finish this new feature yet. However, I'm on it.
Greets Andi
Von: François Suter <fsu-lists at cobweb.ch<mailto:fsu-lists at cobweb.ch>>
Organisation: TYPO3 Association
Antworten an: General discussion about FLOW3 <flow3-general at lists.typo3.org<mailto:flow3-general at lists.typo3.org>>
Datum: Montag, 3. September 2012 15:59
An: "flow3-general at lists.typo3.org<mailto:flow3-general at lists.typo3.org>" <flow3-general at lists.typo3.org<mailto:flow3-general at lists.typo3.org>>
Betreff: Re: [FLOW3-general] Feedback on using the security framework with resources
Hi,
Thanks for your feedback. I will be at the codesprint next week and
my plan was to have a closer look at content security once again. I
will take your experiences into account, to make this whole topic
more intuitive.
BTW my model gave me another interesting use case. I have "events",
which can be nested, a bit like messages in a discussion thread. While
the policy condition on parents work fine, when I access the "children"
property to list nested events, that policy is not applied. I would
expect the security condition to be applied whenever the DB is queried,
even when fetching nested objects, don't you think?
Cheers
--
Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch
Dipl.-Inf. Andreas Förthner
Leiter Web-Entwicklung
Telefon: +49 (911) 539909 - 0
E-Mail: andreas.foerthner at netlogix.de
Website: media.netlogix.de
--
netlogix GmbH & Co. KG
IT-Services | IT-Training | Media
Andernacher Straße 53 | 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
_______________________________________________
FLOW3-general mailing list
FLOW3-general at lists.typo3.org<mailto:FLOW3-general at lists.typo3.org>
http://lists.typo3.org/cgi-bin/mailman/listinfo/flow3-general
More information about the FLOW3-general
mailing list