diff doc/upgrading.txt @ 4295:a57ced3a4bb6

- Add documentation for migrating to the Register permission... ...and fix mailgw to use Register permission, fixes issue2550599
author Richard Jones <richard@users.sourceforge.net>
date Mon, 07 Dec 2009 00:16:33 +0000
parents 61cf00ca920a
children e16a1131ba67
line wrap: on
line diff
--- a/doc/upgrading.txt	Wed Dec 02 23:49:57 2009 +0000
+++ b/doc/upgrading.txt	Mon Dec 07 00:16:33 2009 +0000
@@ -13,6 +13,31 @@
 
 .. contents::
 
+Migrating from 1.4.x to 1.4.10
+==============================
+
+Grant the "Register" permission to the Anonymous role
+-----------------------------------------------------
+
+A separate "Register" permission has been introduced to allow
+anonymous users to register. This means you will need to add the
+following to your tracker's ``schema.py`` to add the permission and
+assign it to the Anonymous role (replacing any previously assigned
+"Create user" permission for the Anonymous role):
+
+  +db.security.addPermission(name='Register', klass='user',
+  +                          description='User is allowed to register new user')
+ 
+   # Assign the appropriate permissions to the anonymous user's Anonymous
+   # Role. Choices here are:
+   # - Allow anonymous users to register
+  -db.security.addPermissionToRole('Anonymous', 'Create', 'user')
+  +db.security.addPermissionToRole('Anonymous', 'Register', 'user')
+
+The lines marked "+" should be added and lines marked "-" should be
+deleted (minus the "+"/"-" signs).
+
+
 Migrating from 1.4.x to 1.4.9
 =============================
 

Roundup Issue Tracker: http://roundup-tracker.org/