-
Type: New Feature
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Security
-
Minor Change
-
Security 17 (07/15/16), Security (08/08/16)
Both the inprog (currentOp) and killop (killOp) roles are granted at the cluster resource level, which makes them an all-or-none condition (I believe).
Use case:
Give developers access to a database with restricted access (basically read-only, non-administrative authority). However because they are given the ability to execute queries, it would be nice if they had the ability to kill any process that were executed by them. Some tools, such as Aqua Data Studio, utilize the killOp command to terminate any queries executed from their query window, however this functionality only works for individuals with administrative roles.
One solution would be to permit killOp command to be permissioned to allow a user to kill his own processes but no other.
Perhaps even just a single new role (userKillOp?) could suffice.
- is related to
-
SERVER-28260 Create a killAnyCursor privilege
- Closed
-
SERVER-9609 Ensure users can only call getMore on cursors they created
- Closed
- related to
-
SERVER-25354 users on mongos should always be able to run currentOp and killOp on their own operations
- Closed