Menu

#63 a privilege can be stored multiple times in security_data

open
Security (1)
3
2012-09-14
2011-01-21
Kilian
No

If you grant the same privilege to the same user multiple times, each of these granted privileges (which are in fact just one) will be stored in the db_security_data document, blowing up the privilege section of the user. If you revoke a privilege, which has been granted multiple times, all the identical privileges are removed at one go.

Discussion

  • Ivan Shcheklein

    Ivan Shcheklein - 2011-02-10

    Why does this behavior bother you?
    Personally, don't think this a bug. AFAIK, MySQL behaves the same way.

     
  • Kilian

    Kilian - 2011-02-11

    Well, it does not bother me that much, I just did not expect this behavior and thought it might be better to report it. If you say it's not a problem, I believe you :-)

    regards kilian

     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB