[BUGFIX] Hide edit icon in list view 98/48998/4
authorNicole Cordes <typo3@cordes.co>
Sat, 16 Jul 2016 16:00:00 +0000 (18:00 +0200)
committerFrank Naegler <frank.naegler@typo3.org>
Thu, 13 Oct 2016 14:57:28 +0000 (16:57 +0200)
commit305f0a61adac6c6d8ceeb4c5298da807cad8f6e7
treee0d252796c8f3551b36d65a2cc6b7787d2d4be24
parentd31544a83874f432ef3b3eb5a258de07e94ada13
[BUGFIX] Hide edit icon in list view

If a record is not editable for a user, the edit icon in the record
list should be hidden.

This patch changes following behavior:

* all fields of a record are fetched to do further access checks
* a check if the user is able to edit that record is included
* space icon for the hidden icon is cleaned up

Resolves: #61560
Releases: master, 7.6
Change-Id: Iceaca60321e34f53ee994a82a5faa758c4b83768
Reviewed-on: https://review.typo3.org/48998
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
typo3/sysext/recordlist/Classes/RecordList/DatabaseRecordList.php