[BUGFIX] Check if user is allowed to paste page to pagetree
authorMax Roesch <typo3@elbebass.com>
Sat, 14 Apr 2012 17:41:48 +0000 (19:41 +0200)
committerErnesto Baschny <ernst@cron-it.de>
Thu, 12 Jul 2012 07:21:39 +0000 (09:21 +0200)
commiteb215bac8da1153f2fc442311b9df3e199345cd0
treef6ba35c41c11e3d6fe437184fa6bca64f5ef0055
parentbc21789f5596162ab6e033c574b0cedbb041ae7d
[BUGFIX] Check if user is allowed to paste page to pagetree

The user rights have checks for new / edit / delete, but paste was missing
leading to an error. Page actions 'paste into' and 'page after' now checks
if the user has rights for adding new pages to the current page.

Change-Id: I24b61c37ae76a4411ddb0b35feed46ab1f02f486
Fixes: #33546
Releases: 4.5, 4.6, 4.7, 6.0
Reviewed-on: http://review.typo3.org/11067
Reviewed-by: Wouter Wolters
Reviewed-by: Ernesto Baschny
Tested-by: Ernesto Baschny
t3lib/tree/pagetree/class.t3lib_tree_pagetree_node.php