Download the PHP package pixelart/shopware-roles-config without Composer
On this page you can find all versions of the php package pixelart/shopware-roles-config. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download pixelart/shopware-roles-config
More information about pixelart/shopware-roles-config
Files in pixelart/shopware-roles-config
Package shopware-roles-config
Short Description Import and export shopware roles from config files
License MIT
Informations about the package shopware-roles-config
PixelartRolesConfig
A quick shopware plugin to define backend user acl roles within YAML config files and import them on e.g. deployments.
Installation
It is recommended that you add
engine/Shopware/Plugins/Local/Backend/PixelartRolesConfig
to your
.gitignore
file if you ignore the composer vendor
dir too.
Usage
First you need to export all roles to config files. At the current state
only all roles are exported and imported at once. For example you can store
your roles in .misc/roles
:
Then you should get one file per backend role. Take care, the filename is idempotent, which means you should never rename it. Also the name of the role in the backend is slugified and not allowed to renamed anymore.
Now you can commit your roles into your VCS and change it as you need it. After changes you can import them with:
License
The MIT License (MIT). Please see the LICENSE file for more information.
All versions of shopware-roles-config with dependencies
symfony/filesystem Version ^2.7
symfony/finder Version ^2.7
symfony/yaml Version ^2.7