cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ralph Goers <>
Subject Re: roles in sitemap?
Date Wed, 22 Mar 2006 16:26:23 GMT wrote:

> There’s no built-in support to act based on authentication roles in 
> the sitemap?
No, but it is very easy to add. First, you have to get the user's roles 
during authentication from whatever authentication and authorization 
component you are using and save them in the user's session. Then write 
a Permission selector that looks a lot like the ExceptionSelector. It 
just compares the user's roles with the role specified in the sitemap 
and executes the correct pipeline fragment.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message