Tuesday, November 13, 2007

Adding a new user at the root of Plone/Zope 2 programmatically

Sometimes you just need to do this sort of thing.
>>> app.portal._addRole('MyRole')

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.