Task #93348
closedAllow more groups per backend user
100%
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.
Updated by Benni Mack almost 4 years ago
Hey Torben,
care to create a patch for this?
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
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
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
Updated by Torben Hansen over 3 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 3e67d252b4bda86721c56b4c18b8af3217dd3a0e.