refs #259: prohibits users to edit inquiry records where branch id is
not the same as his/hers.