Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issues #297 deleting indexes even though options.readOnly = true #298

Merged
merged 3 commits into from
Dec 24, 2016

Conversation

jovehammer16
Copy link
Contributor

#297
update collection.js to check config.options.readOnly before dropIndex
update collection.html to hide the delete button ready only.

@dozoisch
Copy link
Collaborator

Awesome! @jovehammer16 I'll test it locally tonight and will merge and release a new version!

@dozoisch dozoisch merged commit f63efd6 into mongo-express:master Dec 24, 2016
ryodocx pushed a commit to ryodocx/mongo-express that referenced this pull request Mar 18, 2019
Fix issues mongo-express#297 deleting indexes even though options.readOnly = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants