[SERVER-83560] Allow to pass a token to the legacy shell runCommand Created: 23/Nov/23 Updated: 19/Jan/24 Resolved: 19/Jan/24 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Didier Nadeau | Assignee: | Didier Nadeau |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | ntdi_must_have | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Sprint: | Service Arch 2023-12-11, Service Arch 2023-12-25, Service Arch 2024-01-08, Service Arch 2024-01-22 |
| Participants: |
| Description |
|
The only method to set a security token in our JS test is to use _setSecurityToken. This adds a permanent token on the connection and makes it awkward to change the tenant or clear it. A convenience helper would be useful to make our tests more readable. |
| Comments |
| Comment by Didier Nadeau [ 19/Jan/24 ] |
|
We have already updated most tests so the benefit of this is small now. |