Epic #72584: sysext:impexp
Add option to keep user/group permissons when importing pages
After ex- and importing a pagetree within the same installation the pages.perms_groupid setting is lost (and the attribute set to value 0).
#3 Updated by Georg Ringer over 3 years ago
// Have to reset the user/group IDs so pages are owned by importing user. Otherwise strange things may happen for non-admins! unset($this->import_data[$table][$ID]['perms_userid']); unset($this->import_data[$table][$ID]['perms_groupid']);
I am not really sure if this should be changed
#4 Updated by Axel Jindra over 3 years ago
Actually strange things happen, because the user/group is unset. Additionally, you aren't notified about that fact so it needs investigation that the IDs have to be re-set after import.
It was OK to leave the group IDs intact for the last ~200 releases of TYPO3, so why no more? Have there been complaints the other way round?
#5 Updated by Morton Jonuschat over 3 years ago
- Tracker changed from Bug to Feature
- Subject changed from ImpExp perms_groupid lost to Add option to keep user/group permissons when importing pages
- Priority changed from Should have to Could have
Fun fact: The permissions have been reset since somewhere around TYPO3 3.6 or 3.7 - https://github.com/TYPO3/TYPO3.CMS/commit/548ce4b6d93c569ab214ed754772c746b7d59e33