Edit content created by users with the same role
I would approach this by grouping users with organic groups module instead of by role. Roles are only for defining access level, not for making groups of users.