Public layers shouldn't be marked as editable

fix #897