Mercurial > p > roundup > code
comparison doc/upgrading.txt @ 7132:c087ad45bf4d
update Anonymous Create user to Register user permissions
the devel and responsive tracker templates still had the old Create
user permissions for the anonymous user. Replace with the Regiter
permission that has been the standard since 1.4.11 maybe.
Also update references to Create permission in comment for the Email
Access permission for anon user.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Thu, 02 Feb 2023 12:55:27 -0500 |
| parents | 849e9b2d6926 |
| children | 7109cdf8fef4 |
comparison
equal
deleted
inserted
replaced
| 7131:efb2aa271256 | 7132:c087ad45bf4d |
|---|---|
| 64 to generate a new ini file preserving all your settings. | 64 to generate a new ini file preserving all your settings. |
| 65 You can then merge any local comments from the tracker's | 65 You can then merge any local comments from the tracker's |
| 66 ``config.ini`` to ``newconfig.ini`` and replace | 66 ``config.ini`` to ``newconfig.ini`` and replace |
| 67 ``config.ini`` with ``newconfig.ini``. | 67 ``config.ini`` with ``newconfig.ini``. |
| 68 | 68 |
| 69 Using the roundup-mailgw script | 69 Using the roundup-mailgw script (required) |
| 70 ------------------------------- | 70 ------------------------------------------ |
| 71 | 71 |
| 72 In previous versions the roundup-mailgw script had a ``-C`` (or | 72 In previous versions the roundup-mailgw script had a ``-C`` (or |
| 73 ``--class``) option for specifying a class to be used with ``-S`` (or | 73 ``--class``) option for specifying a class to be used with ``-S`` (or |
| 74 ``--set``) option(s). In the latest version the ``-C`` option is gone, | 74 ``--set``) option(s). In the latest version the ``-C`` option is gone, |
| 75 the class for this option is specified as a prefix, e.g. instead of :: | 75 the class for this option is specified as a prefix, e.g. instead of :: |
| 93 in which case it defaults to ``msg`` (this default existed in previous | 93 in which case it defaults to ``msg`` (this default existed in previous |
| 94 versions). | 94 versions). |
| 95 | 95 |
| 96 If you do not use the ``-C`` (or ``--class``) option in your current | 96 If you do not use the ``-C`` (or ``--class``) option in your current |
| 97 setup of mailgw you don't need to change anything. | 97 setup of mailgw you don't need to change anything. |
| 98 | |
| 99 Replace Create User permission for Anonymous with Register (required) | |
| 100 --------------------------------------------------------------------- | |
| 101 | |
| 102 Check your trackers schema.py. If you have the following code:: | |
| 103 | |
| 104 db.security.addPermissionToRole('Anonymous', 'Create', 'user') | |
| 105 | |
| 106 after the permission for Anonymous 'Email Access', change it to:: | |
| 107 | |
| 108 db.security.addPermissionToRole('Anonymous', 'Register', 'user') | |
| 109 | |
| 110 The comment for Anonymous 'Email Access' may refer to Create. Change | |
| 111 it to refer to Register. | |
| 112 | |
| 113 This will be an issue if you used the devel or responsive tracker | |
| 114 templates. If you used a classic, minimal or jinja2 template the | |
| 115 permission change (but not the comment change) should be done already. | |
| 98 | 116 |
| 99 Rdbms version change from 7 to 8 (required) | 117 Rdbms version change from 7 to 8 (required) |
| 100 ------------------------------------------- | 118 ------------------------------------------- |
| 101 | 119 |
| 102 This release includes a change that requires updates to the | 120 This release includes a change that requires updates to the |
