-
Type:
Task
-
Resolution: Unresolved
-
Priority:
High
-
None
-
Affects Version/s: None
-
Component/s: None
-
3
-
Tools and Replicator
-
5
Right now almost all of our testing is done using clusters w/o auth enabled. The user that most tests use has the internal __system role (basically root). The only auth-enabled test task in CI uses a standalone cluster.
We want to invert this and test with auth enabled by default, using users with the minimum required permissions, per our public documentation.
This will help us make sure that the tools don't require new permissions accidentally, as well as let us test that new Server versions don't change our permission requirements.
To do this, we will make the following changes:
- Create a user for test setup with the root role instead of __system.
- For the dump/restore tests, we'll run with a separate user that has backup and restore.
- For tests of features that need more permissions, like --oplogReplay, we'll create a separate user for those tests.
- We will still run a task with a standalone cluster with auth disabled to make sure this use case is still supported.
This focuses on dump/restore for now. We can do a follow-up for the other tools later.