Jürgen Ragaller wrote:
Hi


I am trying to achieve the following behaviour in a sitemap pipeline:

When a user belongs to a group foo, a resource is returned (using a cocoon-reader), else the user gets a login screen (and after the login redirect gets the resource). We intend to use this behaviour for lenya-access-protected assets.

by "resource", you probably mean a static file under <pub>/resources?

these files bypass the access controller afaik (but i would need to check).

why do you want to do this? if access-controlled assets is what you're after, why don't you just use a lenya document (of resource type media, or maybe some custom type) and the live access control features that are already there?

maybe i'm misunderstanding what you're after... if so, please explain some more.


regards,

jörn




--
jörn nettingsmeier

home://germany/45128 essen/lortzingstr. 11/
http://spunk.dnsalias.org
phone://+49/201/491621

Kurt is up in Heaven now.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to