1

Following is the sync function used in the sync gateway.

function (doc, oldDoc) {
if (doc._deleted == true) return;
....rest of the validations
}

As per the above function, there is no validation in document deletion. But the sync gateway returns a forbidden error when trying to delete documents. Can some one help on this

Matthew Groves
  • 25,181
  • 9
  • 71
  • 121
Wella
  • 1,386
  • 3
  • 15
  • 24

0 Answers0