Project

General

Profile

Actions

Task #93348

closed

Allow more groups per backend user

Added by Torben Hansen almost 4 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2021-01-22
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

The usergroup field for a backend user has a DB length of 255 chars. Currently TCA limits the max. amount of groups to assign to a backend user to 20 items. On websites with many (e.g. 500+) backend groups this limit may lead to problems, when a backend user has access to many different areas of the website (e.g. a University website with many subsites) and it is not possible to add more than 20 groups.

Since the varchar(255) DB field can hold a max. of 23 groups (biggest UID = 4294967295, 10 chars length + 1 char for a comma => 255/11 ~ 23 groups), the DB fieldtype should be changed to TEXT if the TCA maxitems value increases.

For fe_users a max of 50 groups per user is configured (fieldtype tinytext - length = 255 chars). This configuration may under very rare conditions not work, if the length of fe_groups UIDs are 10 chars.

Actions #1

Updated by Benni Mack almost 4 years ago

Hey Torben,

care to create a patch for this?

Actions #2

Updated by Benni Mack almost 4 years ago

  • Status changed from New to Accepted
Actions #3

Updated by Torben Hansen almost 4 years ago

  • Assignee set to Torben Hansen
Actions #4

Updated by Gerrit Code Review almost 4 years ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/67577

Actions #5

Updated by Gerrit Code Review almost 4 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/67577

Actions #6

Updated by Gerrit Code Review over 3 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/67577

Actions #7

Updated by Torben Hansen over 3 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #8

Updated by Benni Mack over 3 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF