#159: Overhaul delete version links on history view -------------------------+-------------------------------------------------- Reporter: earle | Owner: dom Type: enhancement | Status: new Priority: normal | Milestone: Component: openguides | Version: svn Severity: normal | Keywords: templates, history -------------------------+-------------------------------------------------- The links for deleting a particular historic version shouldn't be on view to the general public. Additionally, rather than having one link to click per version, there should be tickboxes and a button at the bottom of the page, which takes you to the password-confirmation stage.
#159: Overhaul delete version links on history view --------------------------------+------------------------------------------- Reporter: earle | Owner: dom Type: enhancement | Status: new Priority: normal | Milestone: Component: openguides | Version: svn Severity: normal | Resolution: Keywords: templates, history | --------------------------------+------------------------------------------- Comment (by ivorw):
So, action=list_all_versions should not normally give links to delete.
We need to qualify this, either with another parameter e.g. admin=y or action=list_all_versions_admin. When displaying in admin mode, the page should also list unmoderated versions. The page needs to make it clear which version is the latest moderated one.
This page should present a checkbox next to each version. There will also be a password textbox for the admin password. A form submit button will perform the deletion (having checked the password) and send the user to a "done" page.
#159: Overhaul delete version links on history view --------------------------------+------------------------------------------- Reporter: earle | Owner: dom Type: enhancement | Status: new Priority: normal | Milestone: Component: openguides | Version: svn Severity: normal | Resolution: Keywords: templates, history | --------------------------------+------------------------------------------- Comment (by dom):
Alternatively, have various admin functions show up based on the user preferences. Until we have proper login we would of course still have the actual authentication requiring the password on form submit, but this is a neat solution: those who consider themselves admins can then turn on the delete links at will.
openguides-tickets@lists.openguides.org