Feature #1899
closedDiscard Changes Button
0%
Description
The GUI should have a 'Discard Changes' next to the 'Apply Changes' button.
People often delete/edit the wrong rule/setting and there is no way to make the UI forget these incorrect changes without applying them.
Updated by Jim Pingle almost 13 years ago
- Status changed from New to Resolved
Not sure how feasible this is as the changes have already been added to the config when you press 'save'. Apply only activates them. It's not as simple as rolling back to the previous config either because if more than one user is in the GUI at the time, the last config may not be the changes made that relate to the "Discard" button press.
You can always go back to one of the last few configs under Diagnostics > Backup/Restore, on the Config History tab. Any other method would be too ambiguous.
Updated by Cam Cook almost 13 years ago
Why not have the web UI write into a separate config file? (web-config.xml for example)
When the apply button is pressed copy web-config.xml to the running-config file who then gets activated.
It could then be possible to do things such as Hilight changes (differences in web-config.xml and running-config)
so if multiple users are editing they can see each others changes before hitting the apply button.
overall I don't think there is any way to deal with multiple users elegantly.
Alternate idea:
store the users last actions in the PHP session and use that to provide an Undo button.