comparison 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
comparison
equal deleted inserted replaced
4293:9b9ab6109254 4295:a57ced3a4bb6
10 then you don't need to do anything. If you're upgrading from 0.5.6 to 10 then you don't need to do anything. If you're upgrading from 0.5.6 to
11 0.6.8 though, you'll need to check the "0.5 to 0.6" and "0.6.x to 0.6.3" 11 0.6.8 though, you'll need to check the "0.5 to 0.6" and "0.6.x to 0.6.3"
12 steps. 12 steps.
13 13
14 .. contents:: 14 .. contents::
15
16 Migrating from 1.4.x to 1.4.10
17 ==============================
18
19 Grant the "Register" permission to the Anonymous role
20 -----------------------------------------------------
21
22 A separate "Register" permission has been introduced to allow
23 anonymous users to register. This means you will need to add the
24 following to your tracker's ``schema.py`` to add the permission and
25 assign it to the Anonymous role (replacing any previously assigned
26 "Create user" permission for the Anonymous role):
27
28 +db.security.addPermission(name='Register', klass='user',
29 + description='User is allowed to register new user')
30
31 # Assign the appropriate permissions to the anonymous user's Anonymous
32 # Role. Choices here are:
33 # - Allow anonymous users to register
34 -db.security.addPermissionToRole('Anonymous', 'Create', 'user')
35 +db.security.addPermissionToRole('Anonymous', 'Register', 'user')
36
37 The lines marked "+" should be added and lines marked "-" should be
38 deleted (minus the "+"/"-" signs).
39
15 40
16 Migrating from 1.4.x to 1.4.9 41 Migrating from 1.4.x to 1.4.9
17 ============================= 42 =============================
18 43
19 Customized MailGW Class 44 Customized MailGW Class

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