Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove bypass_document_validation save option to avoid Not Authorized errors #85

Merged
merged 1 commit into from
Dec 23, 2020
Merged

Conversation

Olegt0rr
Copy link
Contributor

Fixes #69 Not authorized on database to execute command

bypass_document_validation required additional role, that's why it raises Not authorized for basic readWrite role

@codecov
Copy link

codecov bot commented Dec 22, 2020

Codecov Report

Merging #85 (52ee110) into master (e9ec910) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##            master       #85   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           12        12           
  Lines          883       883           
  Branches       143       143           
=========================================
  Hits           883       883           
Flag Coverage Δ
tests-3.6-4 99.08% <ø> (ø)
tests-3.6-4.2 99.08% <ø> (ø)
tests-3.6-4.4 99.08% <ø> (ø)
tests-3.7-4 98.51% <ø> (ø)
tests-3.7-4.2 98.51% <ø> (ø)
tests-3.7-4.4 98.51% <ø> (ø)
tests-3.8-4 98.30% <ø> (ø)
tests-3.8-4.2 98.30% <ø> (ø)
tests-3.8-4.4 98.30% <ø> (ø)
tests-3.9-4 98.18% <ø> (ø)
tests-3.9-4.2 98.18% <ø> (ø)
tests-3.9-4.4 98.18% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
odmantic/engine.py 100.00% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e9ec910...52ee110. Read the comment docs.

@art049 art049 changed the title Removed bypass_document_validation Removed bypass_document_validation save option to avoid Not Authorized errors from the database Dec 23, 2020
@art049 art049 changed the title Removed bypass_document_validation save option to avoid Not Authorized errors from the database Remove bypass_document_validation save option to avoid Not Authorized errors Dec 23, 2020
@art049 art049 merged commit 51cbcb9 into art049:master Dec 23, 2020
@art049
Copy link
Owner

art049 commented Dec 23, 2020

Thanks @Olegt0rr !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Not authorized on database to execute command ...
2 participants