[BUGFIX] Files contents cannot be changed
authorAndreas Wolf <andreas.wolf@typo3.org>
Sat, 1 Sep 2012 13:35:44 +0000 (15:35 +0200)
committerHelmut Hummel <helmut.hummel@typo3.org>
Sun, 16 Sep 2012 14:02:15 +0000 (16:02 +0200)
commitcfd107268c3173f1fe8e05027bc7d049e9293fff
tree62b830664b59b121431cd89fc50055ebec544a47
parent15085cbb9646d3bd3535ba372799813bce9da5ce
[BUGFIX] Files contents cannot be changed

Setting file contents failed for two reasons:

a) The permissions were incorrectly read from TSconfig and

b) We used a new "update" permission that was not present
   in the default configuration, so without manually setting it,
   a file could never be updated, even by admins.

This commit changes the "update" permission back to "edit", which was
also used in the pre-FAL era.

Change-Id: I408a19257a50868f7978ffac32eefbd410117e2d
Resolves: #37812
Resolves: #39860
Resolves: #39949
Releases: 6.0
Reviewed-on: http://review.typo3.org/14257
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php
typo3/sysext/core/Classes/Resource/ResourceStorage.php