Hi Monisha,

btw, please invest a couple of minutes in reading the quoting guidelines mentioned on the "Mailing Lists" page on the Lenya website. Thanks a lot!

MShah schrieb:
  In the Apache Lenya publication, we want restrict edit access based on the
users.  So we want the area on the right side of the page to be edited by
one set of users and the area at the bottom to be edited by another set of
users.

Since Lenya uses a per-document access control mechanism, the most straightforward (and most secure) way to accomplish this is using separate documents. This should probably be opaque to the user:

* The custom Create usecase would add all sub-documents when the main document is created. * You'd add a menu item for each sub-document: "Edit sidebar", "Edit bottom area" etc.

Maybe it even makes sense to re-use sidebar documents on multiple pages, e.g. via XInclude?

If you don't want to use this approach, you probably have to patch or override (see fallback concept) the module(s) of the editor(s) you want to use. This could be quite a complex task, though. I remember an implementation of such a mechanism with Xopus, but that was years ago and not a walk in the park.

I'd recommend the first approach (using multiple documents). This will probably be easier to implement and doesn't require to dig into the complicated editor code.

HTH,

-- Andreas



--
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to