Gay ban repealed, but restrictions remain