Complex sentence: The CCI was subordinate to the SD and Gestapo only in regards to who was admitted to the camps and who was released; what happened inside the camps was under the command of the CCI.
Split into simpler sentences: The CCI was subordinate to the SD and Gestapo only in regards to who was admitted to the camps and who was released. What happened inside the camps was under the command of the CCI.