[Zope-PAS] Re: local roles plugins

Zachery Bir zbir at urbanape.com
Mon Apr 11 16:51:01 EDT 2005


On 2005-02-07 17:44:21 -0500, Kapil Thangavelu 
<hazmat at objectrealms.net> said:

> hi folks,
> 
> i'd like to see a new plugin type for local roles plugins. the major
> driving reason is to enable a local roles blocking policy on containers.
> 
> i've got a version of it implemented and if its sounds good i'll setup a
> pas branch with the code. the implementation patches propertied user and
> setups a new plugin type based on the following interface.

How would this not be satisfied by writing a special user factory, 
whose user class specifies a different behavior for 
getRolesInContext()? This doesn't strike me as an interface that needs 
to go into the workings of PAS itself.

Zac




More information about the Zope-PAS mailing list