尽管有验证功能,但仍以管理员身份创建文档
Create document as Admin despite validation function
管理员如何 post 绕过数据库的验证功能将文档记录到 CouchDB?
在 CouchDB The definitive guide 中说明这是可能的,但没有说明如何实现。
Admins can create and delete design documents despite the existence of this extreme validation function.
本指南参考的是设计 文档,而不是正常内容文档。因此,管理员受到与其他用户相同的验证功能的限制。
允许管理员编辑的异常应该在验证函数中编码。
管理员如何 post 绕过数据库的验证功能将文档记录到 CouchDB?
在 CouchDB The definitive guide 中说明这是可能的,但没有说明如何实现。
Admins can create and delete design documents despite the existence of this extreme validation function.
本指南参考的是设计 文档,而不是正常内容文档。因此,管理员受到与其他用户相同的验证功能的限制。
允许管理员编辑的异常应该在验证函数中编码。