[BUGFIX] Hide edit icon in list view 18/50218/2
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 15:22:07 +0000 (17:22 +0200)
commit3453276290ad02ff55b74d73a34b9ad2ec1abf13
tree0c1b22c7c0352df52c3eff56db014b283626d690
parent29d1b0a60c71b11612f8e17cf9f55b93c4488a18
[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/50218
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
typo3/sysext/recordlist/Classes/RecordList/DatabaseRecordList.php