How to deny insert, remove and edit to users collection form the client side


#1

how to deny insert, remove and edit to users collection form the client side

i want no one can add user or edit or remove from the navigator console

because when i test this on my project by console it adds user normaly i want to stop it

Accounts.createUser({
        email: "tesst@test.tes",
        password: "qwertz",
        profile: {
          name: "qwe",
          address: "asdas"
        }
      },function(err){return err})