public function canDispatch()
    {
        if(JFactory::getApplication()->isAdmin())
        {
            if(!$this->canManage())
            {
                JFactory::getApplication()->redirect('index.php', JText::_('JERROR_ALERTNOAUTHOR'), 'error');
                return false;
            }
        }

        return parent::canDispatch();
    }