public function performHandlerTasks() { if (($author_id = Application::param('author_id')) && ($entry_id = Application::param('entry_id'))) { $entry = new Entry(); $entry->clauseSafe('author_id', $author_id); $entry->clauseSafe('entry_id', $entry_id); $this->entry_to_manage_for = $entry; } else { $this->redirectOnAccessDenied(); } if (!LogbookAccess::currentUserCanManageAccess($this->entryToManageFor())) { $this->redirectOnAccessDenied(); } if ($group_id = Application::param('group_id')) { $this->group_to_manage_for = new Group(); $this->group_to_manage_for->clauseSafe('group_id', $group_id); } if (Application::formPosted()) { if (Application::param('choose_group')) { $this->chooseGroup(); } if (Application::param('manage_access')) { $this->manageAccess(); } } }