/**
  * @param Form $form
  */
 public function successEditUserCollectionForm(Form $form)
 {
     $albumIds = $form->values->albums;
     $albums = [];
     foreach ($albumIds as $albumId => $isSet) {
         if ($isSet) {
             $albums[] = $this->albumModel->get($albumId);
         }
     }
     $this->userModel->assignAlbums($this->user, $albums);
     $this->presenter->flashMessage('Albums have been assigend');
     $this->presenter->redirect(':Users:List');
 }