[permissions] make ;permissions search actually work