[SERVER-11504] DropAllRolesFromDatabase doesn't record in audit log Created: 31/Oct/13  Updated: 11/Jul/16  Resolved: 31/Oct/13

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 2.5.4

Type: Bug Priority: Blocker - P1
Reporter: bard.bloom@10gen.com Assignee: Matt Dannenberg
Resolution: Done Votes: 0
Labels: 26qa
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Operating System: ALL
Participants:

 Description   

action "dropAllRolesFromDatabase" has a few problems, one of them big.

1. Big Problem: The command seems to produce no entry in audit logs.

2. the command is called "dropRolesFromDatabase", without an "all". I think
the "all" is clearer: "dropRolesFromDatabase" suggests that one might drop
selected roles.

3. The spec for the text message is "Dropped all roles from <role>@<db>."
There shouldn't be a "role@" in this: there is no single role involved.



 Comments   
Comment by auto [ 31/Oct/13 ]

Author:

{u'username': u'dannenberg', u'name': u'matt dannenberg', u'email': u'matt.dannenberg@10gen.com'}

Message: SERVER-11504 fix dropAllRolesForDatabase to be dropAllRolesFromDatabase
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/84e3a1773484be66dc93a49972073c68008b2e42

Comment by auto [ 31/Oct/13 ]

Author:

{u'username': u'dannenberg', u'name': u'matt dannenberg', u'email': u'matt.dannenberg@10gen.com'}

Message: SERVER-11504 hooked up auditLogging of dropAllRolesFromDatabase
Branch: master
https://github.com/mongodb/mongo/commit/07a8845fbec58c90b642bb55060d05ad006719c3

Generated at Thu Feb 08 03:25:57 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.