× Heads up!

Aqua Data Studio / nhilam

Follow
IDE for Relational Databases
×
ranarohitp(*) reported 2014-04-30T13:44:50Z  · tariqrahiman last modified 2014-10-24T17:17:56Z

User roles are not checked when user is created through ADS mongoshell


Dev
Jenny Nishimura
JennyNishimura
QA
Tariq Rahiman
tariqrahiman
Priority Low
Complexity Unknown
Component MongoSQL
Version 15.0

Aqua Data Studio 15.0.0-dev-258 .
Platform : Windows 7
MongoDB : 2.6.

  1. Make a connection to MongoDB and execute below given script in MongoShell.

    use admin
    db.getSiblingDB("admin").runCommand( { createUser: "accountAdmin01",
    pwd: "password",
    customData: { employeeId: 12345 },
    roles: [
    { role: "clusterAdmin", db: "admin" },
    { role: "readAnyDatabase", db: "admin" },
    "readWrite"
    ],
    writeConcern: { w: "majority" , wtimeout: 5000 }
    } )

     
  2. User will be created in admin DB.

  3. Go to Users under admin DB tree node, right click on it and select User Properties option.

  4. You will observe that now role check boxes will be checked, but we have assigned roles to user.

 

2 attachments

Issue #11997

Closed
Fixed
Resolved 2014-10-22T17:00:07Z
 
 
Completion
No due date
Fixed Build ADS 15.0.0-rc-30
No time estimate

About AquaClusters Privacy Policy Support Version - 19.0.2-4 AquaFold, Inc Copyright © 2007-2017