Global PERMIT_* cleanup.