[SERVER-70189] Remove unnecessary call to createUser in list_databases_for_all_tenants.js Created: 03/Oct/22 Updated: 23/Jan/24 Resolved: 23/Jan/24 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Janna Golden | Assignee: | Backlog - Service Architecture |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | ntdi_nice_to_have | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Service Arch
|
| Participants: | |
| Story Points: | 1 |
| Description |
|
We create a root user, but then don't auth as the user so there's no need to create it. There is a comment that says "Add a root user that is unauthorized to run the command" which is misleading, because it makes it hard to understand why the command then succeeds a few lines later (it's because we're already authenticated as the internal user, who is allowed to run this command, and not as the root user). |