[BUGFIX] Show Create Content button only for allowed languages 47/49847/2
authorDaniel Maier <dani-maier@gmx.de>
Fri, 2 Sep 2016 21:08:03 +0000 (23:08 +0200)
committerBenni Mack <benni@typo3.org>
Fri, 21 Oct 2016 08:37:10 +0000 (10:37 +0200)
commit218ea5787305b3a2da8f7de961ff02858650b347
tree72415405834460c3ee86e71fdff48abfec5935c4
parentda06d6bedfe37ca9d28301f976c4837844cf351a
[BUGFIX] Show Create Content button only for allowed languages

The Create Content button inside the Page Module is now only shown for
languages the backend-user is actually allowed to edit. That way, users
that are restricted to a specific language and not allowed to edit the
default language, do not see this button inside the default language column
any more. (Note: this patch only hides the button itself, the later processing
was already prevented before.)

Resolves: #77753
Releases: master, 7.6
Change-Id: I44ebacaf1d1d0635b0af1e7e52689f077f6fa2b4
Reviewed-on: https://review.typo3.org/49847
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Daniel Maier <dani-maier@gmx.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/backend/Classes/View/PageLayoutView.php