Connection: check both permFlags and flags in move()