enhancement
(User-visible)
It should be possible for the user to see his own last changes and roll them back as far as possible.
Implementation
In the menu "User settings" there is the dialog "My last changes". The user's last changes are displayed here and can be reverted.
Code migration
- To be able to display a changelog, changes must have a reasonable description. Commit messages are now specified via ResKey in order to be able to display them in an internationalized way. Instead of com.top_logic.knowledge.service.KnowledgeBase.beginTransaction(), com.top_logic.knowledge.service.KnowledgeBase.beginTransaction(ResKey) must now be used. The method KnowledgeBase.beginTransaction(Message commitMessage) has been omitted. If this method was used, message accounts must be moved to corresponding I18NConstants files.
- If the GlobalDialogs.xml file is overwritten in the project, the dialog <layout-reference resource="admin/myLatestChanges/dialog.layout.xml"/> must be added.
- Authorization profiles must be adapted for the new dialog.