DASISH / dwan-client-wiredmarker

DASISH Task 5.6. Client for annotation backend (Firefox)
2 stars 4 forks source link

Local delete abort #54

Closed ssvw closed 9 years ago

ssvw commented 9 years ago

the annotation gets deleted from the local database even if the current user does not have delete rights (“all”). It stays undeleted on the server database, as expected. Andre suggests that the following order of the operations can help to fix this. That is: first send the delete request to the server and if it returns 403 do not change the local database, and if it returns 200, delete the annotation from the local database as well.

ssvw commented 9 years ago

This is fixed now.

Three scenarios: