#106103Usergroups created by bin/typo3 setup:begroups:default have fileadmin access but no file mount
Description
I think also creating a file mount for fileadmin/user_upload would be a good default
Currently when you create the Editor or Advanced editor using command
bin/typo3 setup:begroups:default
A usergroup with fileadmin access but access to no folder is generated. If they go to the fileadmin there will be a red flash box
Missing folder permissions You have no access to the folder "1:/user_upload/".
I they create a link in the RTE and go to the “files” tab they get an exception
(1/1) #1375955684 TYPO3\CMS\Core\Resource\Exception\InsufficientFolderAccessPermissionsException You are not allowed to access the given folder: "" in /var/www/html/vendor/typo3/cms-core/Classes/Resource/ResourceStorage.php line 876
Without even the possibility to switch back to another tab.
You can try this out with the docs team demo project:
https://github.com/TYPO3-Documentation/site-introduction
And user e.doe (editor) or a.doe (advanced editor)
Reviews 2
Files 1
History 512
-
Lina Wolf commented <span data-processor="relativetime" data-value="2025-02-07T13:48:34+00:00" > 02/07/25, 13:48 </span>
The Error in the RTE with You are not allowed to access the given folder: “” is resolved in the current main Core. The user is just not seeing any folder and cannot link to a file. This makes more sense then an exception, however I still think, user_upload would be a good default
-
Lina Wolf commented and changed attached clipboard-202502071450-bdnpy.png <span data-processor="relativetime" data-value="2025-02-07T13:50:10+00:00" > 02/07/25, 13:50 </span>
The exception in the image linking widget is also removed, however a more helpful error message for the editor might be helpful:
-
Gerrit Code Review pushed patch set 1 for main to change 88431 status
NewUnder Review <span data-processor="relativetime" data-value="2025-03-03T05:25:19+00:00" > 03/03/25, 05:25 </span> -
Gerrit Code Review pushed patch set 2 for main to change 88431 <span data-processor="relativetime" data-value="2025-03-03T16:22:55+00:00" > 03/03/25, 16:22 </span>
-
Gerrit Code Review pushed patch set 3 for main to change 88431 <span data-processor="relativetime" data-value="2025-03-17T16:26:26+00:00" > 03/17/25, 16:26 </span>
-
Gerrit Code Review pushed patch set 4 for main to change 88431 <span data-processor="relativetime" data-value="2025-03-18T05:15:37+00:00" > 03/18/25, 05:15 </span>
-
Gerrit Code Review pushed patch set 5 for main to change 88431 <span data-processor="relativetime" data-value="2025-03-24T20:16:29+00:00" > 03/24/25, 20:16 </span>
-
Gerrit Code Review pushed patch set 6 for main to change 88431 <span data-processor="relativetime" data-value="2025-03-27T12:05:53+00:00" > 03/27/25, 12:05 </span>
-
Gerrit Code Review pushed patch set 1 for 13.4 to change 88811 <span data-processor="relativetime" data-value="2025-03-27T21:24:18+00:00" > 03/27/25, 21:24 </span>
-
Lina Wolf commented and changed status
Under ReviewResolved done0 %100 % <span data-processor="relativetime" data-value="2025-03-27T21:30:07+00:00" > 03/27/25, 21:30 </span>Applied in changeset commit:659d399bda15ec351502901f79cc0e1ddb34e72c.
-
Benni Mack changed status
ResolvedClosed <span data-processor="relativetime" data-value="2025-12-02T14:27:35+00:00" > 12/02/25, 14:27 </span>
When the user is trying to use a content element with image they will get the following exception: