Commit e3ae3068 authored by Susanne Moog's avatar Susanne Moog Committed by Tymoteusz Motylewski
Browse files

[BUGFIX] Init permissions in context menu

The current user permissions were not initialized
for the context menu resulting in non-existing
permissions for editors (and no possibility to copy
a page).

Change-Id: I8fe747a1f19b4bea794b7fdbd676e7f366eea695
Resolves: #80019
Releases: master
Reviewed-on: https://review.typo3.org/51852


Tested-by: default avatarTYPO3com <no-reply@typo3.com>
Reviewed-by: Steffen Frese
Tested-by: Steffen Frese
Reviewed-by: Tymoteusz Motylewski's avatarTymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski's avatarTymoteusz Motylewski <t.motylewski@gmail.com>
parent b25c5415
......@@ -167,6 +167,7 @@ class RecordProvider extends AbstractProvider
{
parent::initialize();
$this->record = BackendUtility::getRecordWSOL($this->table, $this->identifier);
$this->initPermissions();
}
/**
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment