-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
I was trying to delete test/dummy presentations created by someone else, and got the following message:
{"error":"forbidden","reason":"Sorry, you can only delete your own work."}
By checking the desugn document's validate_doc_update function turns out,
that admin can edit any presentation but can't delete any.
this function needs a new if just under the '// deleting' comment:
} else if (newDoc._deleted) {
// deleting
if (is_admin) {
return true;
}
cheers,
lalyos
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels