-
Type: Question
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Labels:None
I tried the following on 2.5.5 and it said unrecognized. How can I give this permission to a user without full dbAdmin so that they can cancel their long-running queries? Even better would be that they could only cacnel their own.
> db.runCommand({createRole: "killOpRole", privileges: [{resource:
{cluster: true}, actions: ["killOp", "currentOp"]}]})
{
"ok" : 0,
"errmsg" : "Unrecognized action privilege string: killOp",
"code" : 9
}
- is related to
-
DOCS-2929 Add tutorial with examples of user-defined roles
- Closed