Project

General

Profile

Actions

Bug #102062

closed

When creating user using backend:user:create default TCA values are not respected

Added by Łukasz Uznański about 1 year ago. Updated 5 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
Start date:
2023-09-28
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
12
PHP Version:
8.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

If you create user with TYPO3 backend, then you have values for 2 checkboxes set by default "Mount from groups", values "DB Mounts" "File Mounts" are checked by default. This means if you create user that is non administrator, and add user group, when it will inherit db and file mounts.

If you create user using CLI backend:user:create, in this same case, if you don't create admin or maintainer user, this value is not set at all, and then if you try to add user group, you have different behavior, as those checkboxes are not set, so this won't mount db or files from groups.

I propose that we address this inconsistency by ensuring that these checkbox values are also defaulted when users are created via the CLI, thereby aligning the behaviors of both user-creation methods.

Actions

Also available in: Atom PDF