Fix bug that collaborators are able to modify settings of repository