[SERVER-57558] listCollections with {nameOnly: true, authorizedCollections: true} does not return timeseries collections Created: 09/Jun/21 Updated: 29/Oct/23 Resolved: 17/Jun/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 5.0.0-rc0 |
| Fix Version/s: | 5.0.0-rc3, 5.1.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Mark Benvenuto | Assignee: | Gregory Noma |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Operating System: | ALL | ||||
| Backport Requested: |
v5.0
|
||||
| Steps To Reproduce: | 1. Start mongod with --auth )); const userName = "user|" + roleName; ]})); const dbName = "list_collections_own_collections"; const admin = db.getSiblingDB("admin"); )); const db2 = db.getSiblingDB(dbName); createTestRoleAndUser(db2, "roleWithExactNamespacePrivilegesBuckets", [ , actions: ["find"]}, // Create the collection and view used by the tests. const userName = "user|roleWithExactNamespacePrivilegesBuckets"; const db2 = db.getSiblingDB(dbName); const admin = db.getSiblingDB("admin"); assert(db2.auth(userName, "pwd")); let res = db2.runCommand( {listCollections: 1, nameOnly: true, authorizedCollections: true}); |
||||
| Sprint: | Execution Team 2021-06-28 | ||||
| Participants: | |||||
| Description |
|
As a result of This is the result of an early exit in a lambda function here. |
| Comments |
| Comment by Vivian Ge (Inactive) [ 06/Oct/21 ] |
|
Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you! |
| Comment by Githook User [ 17/Jun/21 ] |
|
Author: {'name': 'Gregory Noma', 'email': 'gregory.noma@gmail.com', 'username': 'gregorynoma'}Message: (cherry picked from commit 870f8af7b3052d0e866f3b24c7220fef1f9d66f5) |
| Comment by Githook User [ 17/Jun/21 ] |
|
Author: {'name': 'Gregory Noma', 'email': 'gregory.noma@gmail.com', 'username': 'gregorynoma'}Message: |