[COMPASS-4401] Compass Readonly version allows drop collection Created: 04/Sep/20  Updated: 29/Oct/23  Resolved: 17/Sep/20

Status: Closed
Project: Compass
Component/s: Collection, Compass
Affects Version/s: 1.19.12, 1.20.5, 1.22.0
Fix Version/s: 1.23.0

Type: Bug Priority: Major - P3
Reporter: Felicia Hsieh Assignee: Anna Herlihy (Inactive)
Resolution: Fixed Votes: 1
Labels: drop-database, readonly
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Mac 10.14.6


Attachments: PNG File Screen Shot 2020-09-04 at 4.24.58 PM.png    
Story Points: 1
Documentation Changes: Not Needed
Sprint: Iteration Maracuja

 Description   

Compass Readonly allows the dropping of a database.
From the left-hand list of collections in a Database, click the "...", click "Drop Collection". The text is correctly grayed out. However, the normal dialog box for "Drop Collection" opens, and dropping an existing collection was successful.

The latest Compass Readonly version where data modification is not allowed seems to be 1.18.0



 Comments   
Comment by Githook User [ 17/Sep/20 ]

Author:

{'name': 'anna herlihy', 'email': 'anna.herlihy@10gen.com', 'username': 'aherlihy'}

Message: COMPASS-4401 - Prevent drop in readonly mode (#2016)
Branch: master
https://github.com/mongodb-js/compass/commit/3518240abe8c50fc6e94a80e471cbe95514eed9f

Comment by Githook User [ 17/Sep/20 ]

Author:

{'name': 'aherlihy', 'email': 'anna.herlihy@10gen.com', 'username': 'aherlihy'}

Message: COMPASS-4401 - Prevent drop in readonly mode
Branch: 4401-dev
https://github.com/mongodb-js/compass/commit/e8ac9330c8eeac5bd1571abc3a0458ba00a395e0

Generated at Wed Feb 07 22:36:14 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.