bobthecow / genghis

The single-file MongoDB admin app
http://genghisapp.com
MIT License
1.45k stars 166 forks source link

Is there a way to hide the remove button? #212

Open tleung999 opened 8 years ago

tleung999 commented 8 years ago

Since Genghis doesnt have an admin/user logins, I was wondering if there is a way to hide the remove buttons so no one will accidentally delete anything? I know you have to explicitly spell out the name of the collection to delete, but I dont even want that option available.

Thanks! Tony

bobthecow commented 8 years ago

If you don't want someone doing something in genghis, you should set up a restricted account with more limited permissions in MongoDB. See:

https://en.m.wikipedia.org/wiki/Principle_of_least_privilege