code: func getRoleMaskFromMSPRoles(roles []*m.MSPRole) int {
  	mask := 0
  	for _, role := range roles {
  		mask = mask | getIdemixRoleFromMSPRole(role)
  	}
  	return mask
  }
docs: // GetRoleMaskFromMSPRoles Receive a list of roles to combine in a single bitmask