[Zope-CMF] Default roles

Florent Guillaume fg@nuxeo.com
Tue, 16 Jul 2002 16:17:48 +0000 (UTC)


Damon Eckhoff  <eckhoffd@missouri.edu> wrote:
> What is the proper/expected way to change the default roles granted to a
> user when they register with a portal?  I'm using CMF 1.3Beta, and would
> like have members granted the roles: Member, Author, and Reviewer by default
> when they register.  How do I keep it kosher?  Extend the RegistrationTool?
> I would be grateful for some guidance on this issue.

Yes, subclass RegistrationTool and override addMember.

Florent

-- 
Florent Guillaume, Nuxeo (Paris, France)
+33 1 40 33 79 87  http://nuxeo.com  mailto:fg@nuxeo.com