[SERVER-83318] Enable auth testing for autoCompact command Created: 16/Nov/23 Updated: 12/Dec/23 Resolved: 12/Dec/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.3.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Sean Watt | Assignee: | Mark Benvenuto |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Assigned Teams: |
Storage Engines
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Sprint: | Security 2023-12-11, Security 2023-12-25 | ||||||||
| Participants: | |||||||||
| Description |
|
These include: all_commands_downgrading_to_upgraded.js |
| Comments |
| Comment by Githook User [ 12/Dec/23 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Author: {'name': 'Mark Benvenuto', 'email': 'mark.benvenuto@mongodb.com', 'username': 'markbenvenuto'}Message: GitOrigin-RevId: f2cd3c4869122f1c2ad0bdab4c852bb1a784bb53 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Sean Watt [ 30/Nov/23 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
The auth tests can be run with
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Sean Watt [ 23/Nov/23 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
As it stands, adding the autoCompact command to comands_lib.js as follows
causes commands_builtin_roles_standalone.js to fail with:
We need to consider whether we need a new action type for the autoCompact command or if using the existing action type for compact is okay. The current compact action type authenticates against a DB/collection resource type. However, since autoCompact is operating on all database on a single node, should we consider this as a DB resource type or a cluster resource? |