Feature #68202
open
Epic #72584: sysext:impexp
Add option to keep user/group permissons when importing pages
Added by Axel Jindra over 9 years ago.
Updated over 6 years ago.
Category:
Import/Export (T3D)
Description
After ex- and importing a pagetree within the same installation the pages.perms_groupid setting is lost (and the attribute set to value 0).
Can confirm this for TYPO3 7.6.2. The group relation gets lost, even when exporting the group, that is owner of the page, alongside the page itself.
- Sprint Focus set to On Location Sprint
see typo3_src/typo3/sysext/impexp/Classes/ImportExport.php:2184
// 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
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?
- 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
- Sprint Focus deleted (
On Location Sprint)
- Parent task set to #57377
- Parent task changed from #57377 to #72584
Also available in: Atom
PDF