Whatever is not forbidden is permitted.
Wallenstein's Camp sc. 6 (1798)

Whatever is not forbidden is permitted.