Try this:
'field_name': fields.char('Field Name', size=64,write= ['base.group_partner_manager'],read=['base.group_user']),
or this:
Create a functional field in your model which will be true if the user belong to the specified group else false, then add attrs
for your field to make it editable if the user belong to the specified group else readonly.