Jerusalem is the capital of Israel and has never been a capital of any other state.....Arabs have no legal right to it,  Arab run UN does not make international law. 
There is an agreement between Israel and Jordan that Israel will handle the security around the site, which is exactly what they are doing.