edi_manage should be an acq permission

Change db definition so that edi_manage is and acq permission
also fix a typo in the sql