Skip to content

Commit

Permalink
Merge branch 'hotfix/7.2.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
sbusemann committed Oct 4, 2023
2 parents d6258b7 + 0a1513e commit 71db8f2
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 3 deletions.
10 changes: 8 additions & 2 deletions Classes/Controller/InvitationController.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@ class InvitationController extends AbstractFrontendController
*/
public function newAction(): ResponseInterface
{
$this->allowedUserForInvitationNewAndCreate();
$permissionCheck = $this->allowedUserForInvitationNewAndCreate();
if ($permissionCheck instanceof ResponseInterface) {
return $permissionCheck;
}
$this->view->assign('allUserGroups', $this->allUserGroups);
$this->assignForAll();
return $this->htmlResponse();
Expand All @@ -57,7 +60,10 @@ public function createAction(User $user)
$this->redirect('status');
}

$this->allowedUserForInvitationNewAndCreate();
$permissionCheck = $this->allowedUserForInvitationNewAndCreate();
if ($permissionCheck instanceof ResponseInterface) {
return $permissionCheck;
}
$user->setDisable(true);
$user = FrontendUtility::forceValues(
$user,
Expand Down
8 changes: 8 additions & 0 deletions Documentation/Changelog/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ Changelog
.. t3-field-list-table::
:header-rows: 1

-
:Version: 7.2.2
:Date: 2023-10-04
:Changes:

* [SECURITY] This update is needed for version for 7.0.0 to 7.2.1 older versions are not affected
* [BUGFIX] Add missing permission check for invitation controlling - thx to Daniel Hofmann (in2code)

-
:Version: 7.2.1
:Date: 2023-08-08
Expand Down
2 changes: 1 addition & 1 deletion ext_emconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
'author_email' => 'info@in2code.de',
'author_company' => 'in2code.de - Wir leben TYPO3',
'state' => 'stable',
'version' => '7.2.1',
'version' => '7.2.2',
'constraints' => [
'depends' => [
'typo3' => '11.5.0-11.5.99',
Expand Down

0 comments on commit 71db8f2

Please sign in to comment.