Make your CSV file structure to look like:
username, password, canedit
so it'll be something like:
john, doe, true
foo, bar, false
Add CSV Data Set Config with the following configuration in Variable Names
field:
username, password, canedit
After that you can put 2 IF Controllers with the following conditions:
${canedit}==true
- Request relevant for the editor
${canedit}==false
- Request relevant for read-only user
Hope this helps.