Mercurial > p > roundup > code
diff 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 |
line wrap: on
line diff
--- a/roundup/configuration.py Fri Mar 16 17:04:14 2018 +0100 +++ b/roundup/configuration.py Thu Apr 19 12:59:23 2018 +0200 @@ -605,6 +605,14 @@ " with Email Gateway.\n" "This is a comma-separated string of role names" " (e.g. 'Admin,User')."), + (Option, "obsolete_history_roles", "Admin", + "On schema changes, properties or classes in the history may\n" + "become obsolete. Since normal access permissions do not apply\n" + "(we don't know if a user should see such a property or class)\n" + "a list of roles is specified here that are allowed to see\n" + "these obsolete properties in the history. By default only the\n" + "admin role may see these history entries, you can make them\n" + "visible to all users by adding, e.g., the 'User' role here."), (Option, "error_messages_to", "user", # XXX This description needs better wording, # with explicit allowed values list.
