I've added an organization to three different builds, using the POST /build/:build_id_or_name/organization endpoint. All three ajax requests are sent and all three entries appear in the organization_build_role table as expected. When I remove the organization from one of these builds using DELETE /build/:build_id_or_name/organization/:organization_id_or_name, one ajax request is sent out as expected, but all the entries in the organization_build_role for that organization are deleted. I've also confirmed my findings via the conch development logs, which I'm happy to provide if needed.
I've added an organization to three different builds, using the
POST /build/:build_id_or_name/organization
endpoint. All three ajax requests are sent and all three entries appear in theorganization_build_role
table as expected. When I remove the organization from one of these builds usingDELETE /build/:build_id_or_name/organization/:organization_id_or_name
, one ajax request is sent out as expected, but all the entries in theorganization_build_role
for that organization are deleted. I've also confirmed my findings via the conch development logs, which I'm happy to provide if needed.