-
Type: Task
-
Resolution: Won't Fix
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Security
-
Labels:None
-
Query
The only built in roles with the getParameter privilege are clusterMonitor, backup, restore, and root: https://docs.mongodb.com/manual/reference/built-in-roles/
However, an application can check the featureCompatibilityVersion indirectly. For example, issuing a find with a collation will return error code 72 "InvalidOptions" if the FCV is 3.2 on MongoDB 3.4. A similar work around for MongoDB 3.6 is left as an exercise to the reader.
The featureCompatibilityVersion should be added to the serverStatus output, so that it can be read along with the binary version.
- is related to
-
SERVER-30341 Add FCV to isMaster
- Closed