[SERVER-5955] Forbid renaming system collections Created: 29/May/12 Updated: 13/Jan/23 Resolved: 13/Jan/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Admin |
| Affects Version/s: | 2.0.5 |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Roman Kuzmin | Assignee: | Backlog - Security Team |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||
| Assigned Teams: |
Server Security
|
||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||
| Linked BF Score: | 0 | ||||||||||||||||||||||||||||
| Description |
|
I am using the official C# driver v1.4.2. I noticed that I cannot remove the system collection `system.indexes` from my database (this is rather expected) but I can rename this collection (this is rather unexpected).
Discussion: https://groups.google.com/forum/#!topic/mongodb-user/C0AksmnNVdY I've been recommended to submit the issue, so do I. |
| Comments |
| Comment by Samantha Ritter (Inactive) [ 21/Jul/17 ] |
|
This issue is not a duplicate of |
| Comment by Roman Kuzmin [ 17/Nov/13 ] |
|
On the other hand, ability to rename a system collection provides a way to drop a system collection, for example, not needed empty "system.js" which currently cannot be dropped directly, see https://jira.mongodb.org/browse/SERVER-5972 |