public function actionRoleRevoke() : void
    {
        $username = $this->prompt('Username:', ['required' => true]);
        $user = $this->findModel($username);
        $roleName = $this->select('Role:', ArrayHelper::merge(
            ['all' => 'All Roles'],
            ArrayHelper::map($this->authManager->getRolesByUser($user->id), 'name', 'description'))
        );
        if ($roleName == 'all') {
            $this->authManager->revokeAll($user->id);
        } else {
            $role = $this->authManager->getRole($roleName);
            $this->authManager->revoke($role, $user->id);
        }
        $this->log(true);
    }