protected function findRole($roleName)
    {
        if (($role = $this->_authManager->getRole($roleName)) !== null) {
            return $role;
        }

        throw new Exception(Yii::t('yii2mod.user', 'The role "{roleName}" is not found.', [
            'roleName' => $roleName,
        ]));
    }