[DOCS-5718] Comment on: "manual/reference/method/db.dropUser.txt" Created: 24/Jun/15  Updated: 03/Nov/17  Resolved: 11/Jul/15

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: 01112017-cleanup

Type: Bug Priority: Major - P3
Reporter: Mike Assignee: Kay Kim (Inactive)
Resolution: Done Votes: 0
Labels: collector-298ba4e7
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

MongoDB 2.6

Location: http://docs.mongodb.org/manual/reference/method/db.dropUser/#db.dropUser
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36
Referrer: http://docs.mongodb.org/manual/reference/method/db.removeUser/
Screen Resolution: 1680 x 1050
repo: docs
source: reference/method/db.dropUser


Participants:
Days since reply: 8 years, 31 weeks, 4 days ago

 Description   

Can you warn users that if they are logged in as a member of the "userAdminAnyDatabase" and they run db.dropUser() passing in the account their logged in with that they will effectively remove themselves.

I think it would be safer to prevent such logic, this is a killer if you only had one userAdmin ...



 Comments   
Comment by Githook User [ 11/Jul/15 ]

Author:

{u'username': u'kay-kim', u'name': u'kay', u'email': u'kay.kim@10gen.com'}

Message: DOCS-5718 dropUser check for user admin users
Branch: v2.6
https://github.com/mongodb/docs/commit/e9c69c7aa836b1db5a9479a056083871a35dc154

Comment by Githook User [ 11/Jul/15 ]

Author:

{u'username': u'kay-kim', u'name': u'kay', u'email': u'kay.kim@10gen.com'}

Message: DOCS-5718 dropUser check for user admin users
Branch: master
https://github.com/mongodb/docs/commit/7ed7ecbcf9ffc4cbfcac045e0787001f77d98a1e

Generated at Thu Feb 08 07:50:52 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.