Changes permissions on scan agent table.