Details
-
Bug
-
Resolution: Won't Fix
-
Major - P3
-
None
-
None
-
Ubuntu 14.04, mongodb 32bit
*Location*: http://docs.mongodb.org/manual/reference/command/createRole/#dbcmd.createRole
*User-Agent*: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.81 Safari/537.36
*Referrer*: http://docs.mongodb.org/manual/reference/command/
*Screen Resolution*: 1600 x 900
*repo*: docs
*source*: reference/command/createRole
Ubuntu 14.04, mongodb 32bit *Location*: http://docs.mongodb.org/manual/reference/command/createRole/#dbcmd.createRole *User-Agent*: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.81 Safari/537.36 *Referrer*: http://docs.mongodb.org/manual/reference/command/ *Screen Resolution*: 1600 x 900 *repo*: docs *source*: reference/command/createRole
Description
hello,
I've installed mongodb step by step as it been instructed in your website but when it comes to commands and roles and many other permission and scripts it doesn't work as it been described in website documents.
as an example here:
use admin
switched to db admin
> db.runCommand({ createRole: "myClusterwideAdmin",
privileges: [
{ resource:
, actions: [ "addShard" ] },
{ resource:
, actions: [ "find", "update", "insert", "remove" ] },
{ resource:
, actions: [ "update", "insert", "remove" ] },
{ resource:
, actions: [ "find" ] }
],
roles: [
],
writeConcern:
})
and i keep receving,
"ok" : 0,
"errmsg" : "no such cmd: createRole",
"bad cmd" : {
"createRole" : "myClusterwideAdmin",
i'd really appreciate some help here.
Thank you