Revert "Allow editing documents from view"

This reverts commit 42cdf6886bb2062caa334485cc16b3fd5dcf5030.

This breaks the testsuite (bulkDelete.js)