Mercurial > p > roundup > code
comparison roundup/configuration.py @ 5315:5a014410f254
Fix issue2550954: History display breaks
.. on removed properties: Now changes to removed properties, and
link/unlink events from non-existing properties or classes no longer
trigger a traceback. Concerning the visibility: We have a new
config-item obsolete_history_roles in the main section that defines
which roles may see removed properties. By default only role Admin is
allowed to see these.
| author | Ralf Schlatterbeck <rsc@runtux.com> |
|---|---|
| date | Thu, 19 Apr 2018 12:59:23 +0200 |
| parents | e20f472fde7d |
| children | 6fbb7d52e38f 99175953520e |
comparison
equal
deleted
inserted
replaced
| 5314:7bcbcdd719a8 | 5315:5a014410f254 |
|---|---|
| 603 (Option, "new_email_user_roles", "User", | 603 (Option, "new_email_user_roles", "User", |
| 604 "Roles that a user gets when they register" | 604 "Roles that a user gets when they register" |
| 605 " with Email Gateway.\n" | 605 " with Email Gateway.\n" |
| 606 "This is a comma-separated string of role names" | 606 "This is a comma-separated string of role names" |
| 607 " (e.g. 'Admin,User')."), | 607 " (e.g. 'Admin,User')."), |
| 608 (Option, "obsolete_history_roles", "Admin", | |
| 609 "On schema changes, properties or classes in the history may\n" | |
| 610 "become obsolete. Since normal access permissions do not apply\n" | |
| 611 "(we don't know if a user should see such a property or class)\n" | |
| 612 "a list of roles is specified here that are allowed to see\n" | |
| 613 "these obsolete properties in the history. By default only the\n" | |
| 614 "admin role may see these history entries, you can make them\n" | |
| 615 "visible to all users by adding, e.g., the 'User' role here."), | |
| 608 (Option, "error_messages_to", "user", | 616 (Option, "error_messages_to", "user", |
| 609 # XXX This description needs better wording, | 617 # XXX This description needs better wording, |
| 610 # with explicit allowed values list. | 618 # with explicit allowed values list. |
| 611 "Send error message emails to the dispatcher, user, or both?\n" | 619 "Send error message emails to the dispatcher, user, or both?\n" |
| 612 "The dispatcher is configured using the DISPATCHER_EMAIL" | 620 "The dispatcher is configured using the DISPATCHER_EMAIL" |
