On 04.09.2009, at 00:12, Danilo Ghirardelli wrote:
- Backpublishing, with the public instance that automatically
publish its user generated content to the author one, so it can be
published back correctly when the author edits something. This feels
really unsafe (public instance must see and have access to the
author one) and may lead to concurrency problems.
Why is this unsafe? You do have the same security mechanisms that
apply to Magnolia in general. Simply restrict the rights to this
specific area which is updated by the user anyway. Or deny access
completely and have the superuser activate the content back to author.
I don't see the great danger of concurrency problems either. There is
only one scenario that I can come up with, where we would actually
have a concurrency problem:
- Editor opens a record dialog in the author instance
- User at the same time edits and saves the same record on the public
instance
- The record is activated from the public instance to the author
instance
- Editor hits the save button in his admin interface dialog and
overwrites the new record
But
a) this would be quite a coincidence, right?
b) it could be fixed by a custom save handler of the dialog which
compares modification dates. Tricky but feasible I would say.
The "Backpublishing" option is the best IMO, if you actually need the
content on the author instance that is. I like this solution because
it is rather easy to set up and it is fully consistent with the
Magnolia setup. But maybe I'm really missing something, so I really
appreciate this discussion.
-will
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------