HasRole attachRole() is updated for project based assignment.