admin edi_eans should check correct permission

Correct the permission checked
removed the moribund debug line