Robin S Posted September 15, 2017 Posted September 15, 2017 PageListTrash Allows non-superusers to trash pages directly from Page List (if they have page-delete permission for that page). Not much to say really - the module adds a "Trash" option to the extra actions for pages in Page List. It looks and works just like the Trash action available to superusers. https://github.com/Toutouwai/PageListTrash/ Up to you whether you think non-superusers should be trusted with simpler trashing. For most cases I like the default behaviour where editors have to jump through some more hoops - I want them to think carefully about what they are doing. But if an editor needs to trash several pages then this module might reduce frustration. @tpr, by now you can probably predict what I'm going to say... ...something to merge into AdminOnSteroids? 4
tpr Posted September 15, 2017 Posted September 15, 2017 Update: just added and works fine, thanks. However, at least a JS confirm could be beneficial because non-superusers can't see the Trash to restore, what do you think? I've done an "inline" confirm in case of the "Delete" action (aos feature), I could tweak it to make more generic and apply to this button too. 2
Robin S Posted September 15, 2017 Author Posted September 15, 2017 1 hour ago, tpr said: However, at least a JS confirm could be beneficial because non-superusers can't see the Trash to restore, what do you think? I've done an "inline" confirm in case of the "Delete" action (aos feature), I could tweak it to make more generic and apply to this button too. Good idea.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now