-
Type:
Improvement
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Server Programmability
-
Fully Compatible
-
Programmability 2026-03-02, Programmability 2023-03-30
-
None
-
None
-
None
-
None
-
None
-
None
-
None
The current error message when this is attempted is the following:
Only PUBLIC, PARENT_PRIVATE, and FILE_PRIVATE are allowed for file-level visibility, not private
However, this is confusing. Users might not know that MONGO_MOD_PRIVATE is the default and cannot be explicitly specified at private. Change the message to something like this:
Only PUBLIC, PARENT_PRIVATE, and FILE_PRIVATE are allowed for file-level visibility, not PRIVATE as is it the default and do not need to be specified.