Mercurial > p > roundup > code
comparison doc/upgrading.txt @ 2270:3cdefcb2b7d2 maint-0.7
have roundup server pass though the cause of a "403 Forbidden" response
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Sun, 09 May 2004 23:41:13 +0000 |
| parents | d22a40dd33af |
| children | c0e86056739f f72d2fb8ef78 |
comparison
equal
deleted
inserted
replaced
| 2269:bb152a04bee7 | 2270:3cdefcb2b7d2 |
|---|---|
| 4 | 4 |
| 5 Please read each section carefully and edit your tracker home files | 5 Please read each section carefully and edit your tracker home files |
| 6 accordingly. Note that there is information about upgrade procedures in the | 6 accordingly. Note that there is information about upgrade procedures in the |
| 7 `administration guide`_. | 7 `administration guide`_. |
| 8 | 8 |
| 9 If a specific version transition isn't mentioned here (eg. 0.6.7 to 0.6.8) | |
| 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" | |
| 12 steps. | |
| 13 | |
| 9 .. contents:: | 14 .. contents:: |
| 15 | |
| 16 Migrating from 0.7.0 to 0.7.1 | |
| 17 ============================= | |
| 18 | |
| 19 0.7.1 Permission assignments | |
| 20 ---------------------------- | |
| 21 | |
| 22 If you allow anonymous access to your tracker, you might need to assign | |
| 23 some additional View (or Edit if your tracker is that open) permissions | |
| 24 to the "anonymous" user. To do so, find the code in your ``dbinit.py`` that | |
| 25 says:: | |
| 26 | |
| 27 for cl in 'issue', 'file', 'msg', 'query', 'keyword': | |
| 28 p = db.security.getPermission('View', cl) | |
| 29 db.security.addPermissionToRole('User', p) | |
| 30 p = db.security.getPermission('Edit', cl) | |
| 31 db.security.addPermissionToRole('User', p) | |
| 32 for cl in 'priority', 'status': | |
| 33 p = db.security.getPermission('View', cl) | |
| 34 db.security.addPermissionToRole('User', p) | |
| 35 | |
| 36 Add add a line:: | |
| 37 | |
| 38 db.security.addPermissionToRole('Anonymous', p) | |
| 39 | |
| 40 next to the existing ``'User'`` lines for the Permissions you wish to | |
| 41 assign to the anonymous user. | |
| 10 | 42 |
| 11 | 43 |
| 12 Migrating from 0.6 to 0.7 | 44 Migrating from 0.6 to 0.7 |
| 13 ========================= | 45 ========================= |
| 14 | 46 |
