[BUGFIX] Draft usergroup access rights are now respected 19/8719/19
authorBart Dubelaar <bartdubelaar@gmail.com>
Fri, 27 Jan 2012 10:28:31 +0000 (11:28 +0100)
committerAndreas Wolf <andreas.wolf@typo3.org>
Fri, 17 Jul 2015 22:14:11 +0000 (00:14 +0200)
commitdbb29f3d61051ffbcf7d0ec8770d755b1d33a512
treebee45c68a95815a093e8732a50edddcd29573659
parent5629f1c0ebe97045b473a1c9b2a7d98546234821
[BUGFIX] Draft usergroup access rights are now respected

Adding usergroup access rights to a page in a draft workspace had no
effect on the preview, the page was still shown in menus. The other way
around didn't work either. Removing access rights would not make the page
available. Previewing wasn't possible at all.

This behavior is fixed. All draft usergroup changes are now respected
when previewing.

Change-Id: Ib9a74e98d6ed7457849465fc64685f89ed82fb61
Fixes: #33436
Releases: master, 6.2
Reviewed-on: http://review.typo3.org/8719
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Andreas Wolf <andreas.wolf@typo3.org>
Tested-by: Andreas Wolf <andreas.wolf@typo3.org>
typo3/sysext/frontend/Classes/ContentObject/Menu/AbstractMenuContentObject.php
typo3/sysext/frontend/Classes/Page/PageRepository.php
typo3/sysext/frontend/Tests/Unit/Page/PageRepositoryTest.php