-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Serverless
-
Fully Compatible
-
Server Serverless 2023-02-06, Server Serverless 2023-02-20, Server Serverless 2023-03-06, Server Serverless 2023-03-20, Server Serverless 2023-04-03
-
152
-
8
In order to enforce the correct behavior every time we construct a NamespaceString, we need to check global options. We must check these options from outside the NSS class itself, so we'll privatize the constructors and enforce construction through NamespaceStringUtil (which will need to be a friend class). There are some places that we construct an NSS today that are not yet ready for the behavior checks to be enforced, specifically some parts of the auth system. We may need to create specific functions to allow these to be constructed for now, and leave TODOs to remove those functions in the future.
- depends on
-
SERVER-74827 Do not run multitenancy_test_authzn.js without a tenantId if multitenancySupport is enabled
- Closed
-
SERVER-74828 Ensure parseResourcePattern creates NamespaceString with tenantId
- Closed
-
SERVER-74829 Use tenantId when constructing placeholder namespace in PipelineExecutor
- Closed
-
SERVER-74830 Ensure agg and views unit tests that set tenantIds behave correctly when multitenancySupport enabled
- Closed
-
SERVER-74831 Ensure DatabseClonerTest passes tenantIds correctly with multitenancySupport enabled
- Closed
- is duplicated by
-
SERVER-65457 Require tenantId in NamespaceString when in serverless mode and latest FCV
- Closed
- is related to
-
SERVER-73880 Make DatabaseName constants
- Closed
- related to
-
SERVER-73834 NamespaceString constants: immortality and constexprness
- Closed