-
Type: Bug
-
Resolution: Works as Designed
-
Priority: Critical - P2
-
None
-
Affects Version/s: None
-
Component/s: Authentication
-
None
Steps to Reproduce:
- Set up a four member replica set with SCRAM-SHA auth enabled AND the localhost exception disabled:
- Primary
- Secondary
- Secondary
- Secondary
- Hidden: true
- Priority: 0
- Set up a user with the "clusterMonitor" role on admin
- Create a NewClient connection with basic clientOptions, authenticating with that user against admin
- Connect the new client (Note that if at this stage you call connectionStatus you'll get back empty users and roles - this seems like a separate case from
GODRIVER-1033the connectionStatus result is the same) - Get the admin database
- Use RunCommand to try to call replSetGetStatus
Expected:
replSetGetStatus executes properly
Observed:
replSetGetStatus receives an authorization error
- is duplicated by
-
GODRIVER-1033 Authenticated connection does not have permissions to execute replSetGetStatus
- Closed
- is related to
-
GODRIVER-1344 Authentication fails against Hidden secondaries in direct connection mode
- Closed