[Zope-dev] LOTS of roles?
   
    Florent Guillaume
     
    fg@nuxeo.com
       
    Tue, 25 Feb 2003 18:33:16 +0000 (UTC)
    
    
  
Leonardo Rochael Almeida  <leo@hiper.com.br> wrote:
> So I think you need dynamically calculated local roles. This can be
> achieved by a user folder that returns a user object that overrides
> ".getRolesInContext(object)" to take the location (or any other
> attribute, such as an acquired "site") of "object" and check it against
> your central authorization source (eg. LDAP).
Note that you'll also want to change validate() if you go that route.
It has a short-circuited version of getRolesInContext in it.
Florent
-- 
Florent Guillaume, Nuxeo (Paris, France)
+33 1 40 33 79 87  http://nuxeo.com  mailto:fg@nuxeo.com