[BUGFIX] AbstractTreeView correct permission handling with non pages 34/37034/7
authorAndreas Allacher <andreas.allacher@gmx.at>
Fri, 20 Feb 2015 08:07:51 +0000 (09:07 +0100)
committerAndreas Fernandez <andreas.fernandez@aspedia.de>
Tue, 21 Apr 2015 13:21:29 +0000 (15:21 +0200)
commit1947837ce044e179883a5c8355683fb35c44e081
tree5b529b631498127f6e7a944210e7815d365d560f
parenteb06d43da9cd2ed17d430bc5ee5eb71ca3772a6d
[BUGFIX] AbstractTreeView correct permission handling with non pages

AbstractTreeView now checks correctly, if a user has permission
to access elements even if they are not pages.

Without this change it was always assumed that the "uid" of the record
is the page uid. However, that is only valid for pages.

Change-Id: I4dd4970fb529ac6ab6f3c79d993456feed225fea
Resolves: #63047
Releases: master, 6.2
Reviewed-on: http://review.typo3.org/37034
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Andreas Fernandez <andreas.fernandez@aspedia.de>
Tested-by: Andreas Fernandez <andreas.fernandez@aspedia.de>
typo3/sysext/backend/Classes/Tree/View/AbstractTreeView.php