Skip to content

Connectivity check operation #114

Closed
Closed
@wenerme

Description

@wenerme

After build a db instance , there is no guarantee that the configuration is correct, I try to use db.getVersion() as Ping method, but the user don't have the permission, is this require _system access ?

And why these operation need _system access ?

db.getVersion()
db.getAccessibleDatabases()
db.getLogLevel()
db.getUser(properties.getUser()) // Current user

Give me
Response: 401, Error: 11 - not authorized to execute this request

PS: driver version 4.1.10, server version 3.1

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions