blocking unauthorized user to delete template values