GETs should not cause side effect nor ZODB writes.
To test it:
- Instanciate a cps as manager/manager from zope, so the cps manager is admin/admin.
- Launch this command from /tmp ou ~/tmp:
httrack -K4 http://admin:admin@localhost:8080/cps/
- Go have a cup of coffee, come back in 10 minutes or more (or less) and stop httrack (control-C).
- Look at the CPS: many things have disappeared.
- Try to login as the admin: impossible (the account disappeared).
- Go to Undo at the root of CPS: many transactions are undoable.
Conclusion: There are two (types of) problems:
- Destructive actions (deletion of the admin account, for instance, or destruction of boxes) or actions with side effects (ex: /cps/addtoFavorites) that are accessible from a simple GET.
- Action that are simple visualizations but that have side effects in the ZODB, like /cps/content_status_history, /cps/cpsdocument_view, /cps/subscription_edit_form, /cps/treebox_edit_form, /cps/folder_view, etc.