protected function _updateAcl(\Cms\Orm\CmsCategoryAclRecord $aclRecord)
    {
        //iteracja po identyfikatorach kategorii
        foreach ($this->_getChildrenCategoryIds($aclRecord->cmsCategoryId) as $categoryId) {
            //dozwalanie lub zabranianie w ACL
            $aclRecord->access == 'allow' ?
                    $this->_acl->allow($aclRecord->getJoined('cms_role')->name, $categoryId) :
                    $this->_acl->deny($aclRecord->getJoined('cms_role')->name, $categoryId);
        }
    }