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.

I saw that the group affiliation of a user can be read in the pipeline by using {access-control:role-ids}. Now the problem is, that I cannot use a simple boolean parameter selector test for the role-ids.

Does it make sense, to write a cocoon action for the purpose of checking if the user belongs to group foo; or do you know of a better way (maybe more simple)?


Thanks for help!

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

Reply via email to