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

Use "localhost exeption" to create users for at least ephemeralForTest #671

Closed
hasezoey opened this issue Jul 4, 2022 · 2 comments
Closed
Labels
enhancement released on @beta released Pull Request released | Issue is fixed

Comments

@hasezoey
Copy link
Collaborator

hasezoey commented Jul 4, 2022

Thanks to #670 (comment) i now know that it is possible to create users while auth is active, even in ephemeralForTest and everything through the mongodb nodejs driver, so this issue is tracking the implementation of this.

Mongodb Documentation: Localhost Exeption
TL;DR: (from Create the user administrator Note)

You can create the user administrator either before or after enabling access control. If you enable access control before creating any user, MongoDB provides a localhost exception which allows you to create a user administrator in the admin database. Once created, you must authenticate as the user administrator to create additional users.

@github-actions
Copy link

github-actions bot commented Jul 5, 2022

🎉 This issue has been resolved in version 8.8.0-beta.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions
Copy link

@github-actions github-actions bot added the released Pull Request released | Issue is fixed label Jul 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement released on @beta released Pull Request released | Issue is fixed
Projects
None yet
Development

No branches or pull requests

1 participant