#20499setCachedList in t3lib_userauthgroup does not consider order of the groups
Description
When the setCachedList in t3lib_userauthgroup is called it overwrites the users group list without consideration of the existing order of the groups. The underlying problem is kindda the same as in issue #15246.
In addition to having a hook for post processing I suggest solving the problem so that the order of the existing groups are retained and any new ones added to the end of the list.
Alternativly it would be beneficial to have a typoscript option for settings a users (or groups) default group when creating pages. I initially thought that
TCEMAIN.permissions.groupid was for that.
(issue imported from #M11179)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.