Closes OpenSourceFieldlinguistics/FieldDB#1112 and OpenSourceFieldlinguistics/FieldDB#1113; read-only users can view all data, but cannot add or edit data; write-only users cannot view any data and can only add new records.