openlibrary icon indicating copy to clipboard operation
openlibrary copied to clipboard

Re-enable "revert" feature

Open cdrini opened this issue 8 years ago • 10 comments

I believe we disabled this because of misuse; I feel like enough time has passed that we can bring it back. It would be useful for @seabelis and I on #1662 .

cdrini avatar Nov 30 '18 14:11 cdrini

I think we should make sure it is enabled for librarian users, it is currently for admins. Not keeping it for librarians was probably an oversight in the first place, but I do remember the circumstances and there was an urgent need, we should have followed up sooner though!

hornc avatar Dec 06 '18 05:12 hornc

I know this didn't work correctly for undoing merges, but I'm not aware of why it would have been disabled otherwise. Is there a ticket associated with that?

tfmorris avatar Dec 06 '18 08:12 tfmorris

If I recall correctly, this worked correctly, we just disabled it because of an edit war. To clarify, this is the revert button that appears on the view history page. I would argue we should enable it for all users if possible.

cdrini avatar Dec 06 '18 12:12 cdrini

How do I enable this locally? I was having trouble trying to test some code relating to this?

jdlrobson avatar Dec 17 '18 16:12 jdlrobson

Not sure... Searching GitHub, https://github.com/internetarchive/openlibrary/pull/567 might be related? But @mekarpeles would know for sure.

cdrini avatar Dec 17 '18 16:12 cdrini

I'm assuming this would be fairly easy to implement. @mekarpeles assigning you since you appear to be the subject matter expert.

xayhewalo avatar Nov 04 '19 03:11 xayhewalo

This started working again for me in the last few months. I'm not sure if my permissions got changed or it get reeenabled for folks generally. Even if it's currently librarians only, they would appear to meet the needs of @cdrini and @seabelis.

tfmorris avatar Nov 12 '19 01:11 tfmorris

It's been re-enabled for librarians here #2228 . I still think it should be re-enabled for any "trusted" user, like most wikis (Wikipedia, Wikidata). I would say this is blocked by adding a "trusted" user class.

cdrini avatar Nov 12 '19 01:11 cdrini

Is there still a desire to create a trusted user class? Would that just be creating a new "trusted-user" usergroup, adding an is_librarian()-like check for it, and then adding the check into the revert permission check (and whatever else these users would be trusted to do)?

SouthGoingZax avatar Nov 20 '20 23:11 SouthGoingZax

Discussed on a community call, and it seems like this can be closed. There is a trusted-user tag, already, which could potentially be leveraged if we have more places we want to use it. But revert functionality has already been restored, and it is only enabled for librarians and admins.

SouthGoingZax avatar Nov 24 '20 20:11 SouthGoingZax