<?php

namespace Oro\Bundle\ImportExportBundle\Migrations\Schema\v1_0;

use Doctrine\DBAL\Schema\Schema;

use Oro\Bundle\MigrationBundle\Migration\Migration;
use Oro\Bundle\MigrationBundle\Migration\QueryBag;

class RemoveAclCapability implements Migration
{
    /**
     * {@inheritdoc}
     */
    public function up(Schema $schema, QueryBag $queries)
    {
        $queries->addPostQuery("DELETE FROM acl_classes WHERE class_type='oro_importexport'");
    }
}

Remove the General import/action operations ACL capability - added migration to drop capability from DB
BAP-9897: Remove the General import/action operations ACL capability
 - added migration to drop capability from DB
