Jump to content

PageListTrash - allows non-superusers to trash pages from Page List


Robin S
 Share

Recommended Posts

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.

2017-09-15_131750

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...:D

...something to merge into AdminOnSteroids?

  • Like 4
Link to comment
Share on other sites

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.

  • Like 2
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...