title: Drupal 7 fields - only editable by specific roles - how?
body: <p>I have some fields that my users cannot be allowed to edit - however, certain roles would need permission to do so. There are also other fields that the user may edit.</p>
  
  <p>How would I do this? I tried looking in roles.
  I did see this question: <a href="https://stackoverflow.com/questions/3268161/drupal-user-profiles-adding-fields-only-editable-by-administrators">Drupal, user profiles: adding fields *only* editable by administrators</a></p>
  
  <p>but couldnt figure out how to make sure that the fields are never editable by regular users, and also how to make sure only specific roles can edit.
  I'm fairly good with php, but i can't seem to find my way around on the drupal site.</p>
  
  <p>/Anders</p>