11 Mar
2003
11 Mar
'03
5:57 p.m.
In article <20030304192817.GC3495@slinkp.com> you write:
Note that you'll also want to change validate() if you go that route. It has a short-circuited version of getRolesInContext in it.
are you sure it's not BasicUser.allowed() that you mean? there's a comment in there about checking roles manaully rather than with getRolesInContext...
Yeah I'm sorry, I meant allowed(). You could also check what NuxUserGroups does, it has to patch this same area to provide a notion of groups to the security machinery. Note that I don't remember your exact use cases, but NuxUserGroups could be useful to you. Florent -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 87 http://nuxeo.com mailto:fg@nuxeo.com