« Altering an Archetypes validator after the schema has been defined | Main | AJAX and Microwaves »

Authenticating as a portal user in the Zope debugger

If you want to authenticate as a Plone portal user while running in debug mode you need to do the following:

You need to replace ‘portal’ with the ID of your portal object and replace ‘andy’ with the name of your user, and lo! you will be authenticated.

If you want the work that you’re doing in the debugger to stick remember to commit your transaction:

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)