protected function initAcl() { $namespace =
Shopware()->
Snippets()->
getNamespace('backend/shipping/controller'
);
// Read
$this->
addAclPermission('getCostsMatrixAction', 'read',
$namespace->
get('no_list_rights', 'Read access denied.'
));
$this->
addAclPermission('getCountriesAction', 'read',
$namespace->
get('no_list_rights', 'Read access denied.'
));
$this->
addAclPermission('getHolidaysAction', 'read',
$namespace->
get('no_list_rights', 'Read access denied.'
));
$this->
addAclPermission('getPaymentsAction', 'read',
$namespace->
get('no_list_rights', 'Read access denied.'
));
$this->
addAclPermission('getShippingCostsAction', 'read',
$namespace->
get('no_list_rights', 'Read access denied.'
));
// Update
$this->
addAclPermission('updateCostsMatrixAction', 'update',
$namespace->
get('no_update_rights', 'Update access denied.'
));
$this->
addAclPermission('updateDispatchAction', 'update',
$namespace->
get('no_update_rights', 'Update access denied.'
));
// Delete
$this->
addAclPermission('deleteAction', 'delete',
$namespace->
get('no_delete_rights', 'Delete access denied.'
));
$this->
addAclPermission('deleteCostsMatrixEntryAction', 'delete',
$namespace->
get('no_delete_rights', 'Delete access denied.'
));
// Create