Check if db exists in /db/_ensure_full_commit call #1588
We removed a security call in
This fix places the security check directly in
Related Issues or Pull Requests
We removed a security call in `do_db_req` to avoid a duplicate authorization check and as a result there are now no db validation in noop call `/db/_ensure_full_commit`. This makes it always return a success code, even for missing databases. This fix places the security check directly in _ensure_full_commit call and adds eunit tests for a good measure.