[BUGFIX] Wrong exception on renaming folder 62/23862/2
authorFrancois Suter <francois@typo3.org>
Tue, 17 Sep 2013 07:04:05 +0000 (09:04 +0200)
committerFrancois Suter <francois@typo3.org>
Fri, 20 Sep 2013 10:02:18 +0000 (12:02 +0200)
commit7aa646f0fa15fbd71216689d09814ea913ef47f7
treed093c25bebc2f5fe8121e4dcab50ce8eba6e226e
parentbcbf6bfce6c351de8a6a61d42d5e08ce1dabf407
[BUGFIX] Wrong exception on renaming folder

When a user tries to rename a folder without the permissions
to do so, the ResourceStorage throws a
"InsufficientFileAccessPermissionsException" instead of a
"InsufficientUserPermissionsException".

Resolves: #52056
Releases: 6.0, 6.1, 6.2
Change-Id: I83e75038bd6763f201ef03ebf37018368e990e1a
Reviewed-on: https://review.typo3.org/23862
Reviewed-by: Helmut Hummel
Reviewed-by: Frans Saris
Tested-by: Frans Saris
Reviewed-by: Fabien Udriot
Reviewed-by: Francois Suter
Tested-by: Francois Suter
typo3/sysext/core/Classes/Resource/ResourceStorage.php