Mercurial > p > roundup > code
diff doc/upgrading.txt @ 1009:fc55426544b5
more upgrading docco and a tool to fix roles
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Mon, 02 Sep 2002 08:11:02 +0000 |
| parents | 10ed4791f969 |
| children | 6afef8529d6c |
line wrap: on
line diff
--- a/doc/upgrading.txt Mon Sep 02 07:46:55 2002 +0000 +++ b/doc/upgrading.txt Mon Sep 02 08:11:02 2002 +0000 @@ -162,6 +162,7 @@ noting that your definition of the nosy Multilink will override the normal one. + 0.5.0 User schema changes ~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -298,6 +299,30 @@ "``roundup-admin security``" command. +0.5.0 User changes +~~~~~~~~~~~~~~~~~~ + +To support all those schema changes, you'll need to massage your user database +a little too, to: + +1. make sure there's an "anonymous" user - this user is mandatory now and is + the one that unknown users are logged in as. +2. make sure all users have at least one Role. + +If you don't have the "anonymous" user, create it now with the command:: + + roundup-admin create user username=anonymous roles=Anonymous + +making sure the capitalisation is the same as above. Once you've done that, +you'll need to set the roles property on all users to a reasonable default. +The admin user should get "Admin", the anonymous user "Anonymous" +and all other users "User". The ``fixroles.py`` script in the tools directory +will do this. Run it like so (where python is your python 2+ binary):: + + python tools/fixroles.py -i <instance home> + + + 0.5.0 CGI interface changes ---------------------------
