[BUGFIX] Add permission checks to edit icons in filelist and context menu

In filelist as well as in context menus the edit/info/cut/copy/paste
icons are always shown and not disabled/removed if related FAL object
doesn't allow these actions. These changes fix this.

Resolves: #61261
Releases: 6.2, 6.3
Change-Id: I318a1112e9ee3c2fda4db219364663c89161320c
Reviewed-on: http://review.typo3.org/32462
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
[BUGFIX] Do not check file extension on local file

If a file is uploaded and file extension deny pattern is set,
we should not test this temporary file for extension permissions.
Also on adding a file into a storage do not need to test the
extension of the local file, the extension of the target file is
enough.

Resolves: #58367
Releases: master, 6.2
Change-Id: I95b1685746150e2b03c56a5680785ae0b2388cd9
Reviewed-on: http://review.typo3.org/32817
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
[TASK] Remove deprecated inlcude_once array in ClickMenuController

Resolves: #61781
Releases: master
Change-Id: I0ad4479fb733288d170ee3a06e778ff4890ecd6e
Reviewed-on: http://review.typo3.org/32905
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
[BUGFIX] Invalid rendering of high resolution icons in lists

When using high resolution icons (png) in backend modules (32x32) and
this module can be enabled/disabled in the be_groups/be_users records,
the icon is displayed bigger than desired.

This patch introduces width and height attributes in the "getIconHtml"
method to prevent this visual bug.

Resolves: #61656
Releases: master, 6.2
Change-Id: Ida484f794ab632eef8c693e41ee2b5f5d26c5e8f
Reviewed-on: http://review.typo3.org/32812
Reviewed-by: Xavier Perseguers <xavier@typo3.org>
Tested-by: Xavier Perseguers <xavier@typo3.org>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>