Skip to content

Expose A Function For All Database Requests w/ doc, req arguments? #4667

Description

@ronnievsmith

Documentation indicates that one can log() toJSON(or otherwise handle) a request object but it don't work for design validation functions.

I am pondering the best way to extend authorization on CouchDB. If a function could fire on HTTP request we could build out custom authorization possibly per field or per document. As is, the authorization for the entire database is either on or off in terms of read access.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions