participedia / api

Website and API for Participedia V3
https://participedia.net
MIT License
20 stars 13 forks source link

Edits to entries by non-admins remove them from collections BUG P1 #1106

Closed jesicarson closed 2 years ago

jesicarson commented 2 years ago

@paninee reported by Sarah S and Bonny (remind me to let them know when this is fixed):

As I edit and add to existing cases, they disappear from the collection. While they still exist on Participedia, it is as if re-uploading them removes them from the collection.

These five cases were removed from the collection upon re-uploading:

https://participedia.net/case/7758 https://participedia.net/method/7763 https://participedia.net/method/7755 https://participedia.net/case/7753 https://participedia.net/organization/7787

And here is the collection, containing the one entry I will be re-uploading sometime tomorrow:

https://participedia.net/collection/8015

Bonny also notes that there were previously a number of additional cases in the collection, but now there's only 1.

jesicarson commented 2 years ago

Testing Notes:

Could there be something specific to Sarah's account causing this bug? Here's her profile: https://participedia.net/user/422053

jesicarson commented 2 years ago

I've emailed Sarah and asked if she can try manually re-adding one of the removed entries back to the collection. I cc'd you @paninee

jesicarson commented 2 years ago

Sarah is not a site admin, so her edits should definitely not be able to remove entries from a collection. I will test with a non-admin account shortly.

jesicarson commented 2 years ago

@paninee Tested and reproduced this bug using the info@participedia.net non-admin account.

I edited this entry https://participedia.net/case/7756 (added text to the title), and once I published the entry it was removed from this collection https://participedia.net/collection/8015