composer require fond-of-oryx/erp-order-permission
Register SeeErpOrdersPermissionPlugin
in PermissionDependencyProvider
<?php
namespace Pyz\Client\Permission;
use FondOfOryx\Client\ErpOrderPermission\Plugin\Permission\SeeErpOrdersPermissionPlugin;
class PermissionDependencyProvider extends SprykerPermissionDependencyProvider
{
...
/**
* @return \Spryker\Shared\PermissionExtension\Dependency\Plugin\PermissionPluginInterface[]
*/
protected function getPermissionPlugins(): array
{
return [
...
new SeeErpOrdersPermissionPlugin(),
];
}
}
...
Append permission in ZED Backend!