Security breach possible with editing the JS from console!

Dear admins,

I found out when opening source code -> copying the entire JS script to call the grid to the page -> pasting it in the console and editing the edit possibilities from ‘ro’ to ‘ed’ -> and just hitting enter, it makes it possible for anyone to get edit rights and edit things in the grid!!!

Is there any way to make this more safe?
Cheers!