conditions and permissions