dev-master
9999999-devImport / Export ACL Bundle
OSL-3.0
The Requires
- php >=5.4.9
Import / Export ACL Bundle
Akeneo have quite flexible settings to configure access level (ACL) to various entities like categories, attributes groups, locales. Frontend is covered fully with this functionality, however, import/export functionality doesn't take into account ACL configuration, (*1)
As a result any user is able to export/import any data even without having access to it., (*2)
Also, a user's access to a product is based on the user's access to the categories the product is assigned to (eg. Category ACL configuration). It means that you can view/edit products only if you have access to a specific category., (*3)
However, products not assigned to any category are accessible for every user. We are thinking that a product shouldn't be without category, as then there is not way to define the owner of the product., (*4)
We have implemented ACL support for Import product connector (v1) We have added two settings (widely) to a product import profile, (*5)
Appropriate notifications have been added, like:, (*6)
The implemented functionality cover missing ACL part for product import, (*7)
Step 1. Use as dependency in composer, (*8)
composer require balance/akeneo-import-export-acl
Step 2. Add 3 lines into <path_to_akeneo>/app/AppKernel.php
, into function registerBundles, (*9)
$bundles[] = new Balance\Bundle\ConnectorBundle\BalanceConnectorBundle();
, (*10)
$bundles[] = new Balance\Bundle\CatalogBundle\BalanceCatalogBundle();
, (*11)
$bundles[] = new Balance\Bundle\SecurityBundle\BalanceSecurityBundle();
, (*12)
Step 3. Clear cache, execute the command: php console cache:clear --env=prod
, (*13)
Step 4. Fix folder rights, if so: chmod 777 app/cache -R
, (*14)
Step 5. Enjoy!, (*15)
4 Test cases have been documented with Test import data., (*16)
Import / Export ACL Bundle
OSL-3.0