[BUGFIX] Hide "new page buttons" for users who can't create new pages 64/28464/7
authorGeorg Ringer <georg.ringer@gmail.com>
Tue, 18 Mar 2014 09:41:59 +0000 (10:41 +0100)
committerNicole Cordes <typo3@cordes.co>
Fri, 21 Mar 2014 22:52:31 +0000 (23:52 +0100)
commit477003c2266933603871ae522066e265579fc047
tree373681a61dbac321f9c3f0748c8af708858c2045
parent99ddf6dc2c58199c30cbb22c609ed75ab7748752
[BUGFIX] Hide "new page buttons" for users who can't create new pages

There are 2 icons in the New Element wizard which should not belong there
and get the user into a blank page if the user got no access to create
page records.

- in the toolbar: icon to create a new page
- in the wizard: icon to create new page

Change-Id: I5ab638f17eebfc740ab64dd57ce655681552f901
Resolves: #56992
Releases: 6.2
Reviewed-on: https://review.typo3.org/28464
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Wouter Wolters
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Nicole Cordes
Tested-by: Nicole Cordes
typo3/sysext/backend/Classes/Controller/NewRecordController.php