[Zope3-dev] role (contextual) services?l
Jim Fulton
jim at zope.com
Mon Apr 5 13:29:37 EDT 2004
Roger Ineichen wrote:
> About grant permission, roles, principal
>
> it's just a crazy idea.
>
> What do you think about to let,
> in a site, for each role, register a (adapter, menu, presentation ...)
> service?
>
> This role (contextual) services can serv different
> adaperts, views etc for different roles.
>
> This way we could build role (contextual) sites
> which look different for each role.
>
> And a nice side effect could be, it could reduce
> the permission settings, because you know which role
> is accessing a view which is served from a role (contextual)
> service.
As Stephan pointed out, we wouldn't want to link the component architecture
and the security policy this tightly, but you should get a similar
effect by choosing skins based on roles. I think that this would be
a worthy experiment. It's not something I would want to pay attention
to for X3.0.
Jim
--
Jim Fulton mailto:jim at zope.com Python Powered!
CTO (540) 361-1714 http://www.python.org
Zope Corporation http://www.zope.com http://www.zope.org
More information about the Zope3-dev
mailing list