Feature #68202
openEpic #72584: sysext:impexp
Add option to keep user/group permissons when importing pages
0%
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).
Updated by Kevin Ditscheid almost 9 years ago
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.
Updated by Anja Leichsenring almost 9 years ago
- Sprint Focus set to On Location Sprint
Updated by Georg Ringer almost 9 years ago
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
Updated by Axel Jindra almost 9 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?
Updated by Morton Jonuschat almost 9 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
Updated by Nicole Cordes over 8 years ago
- Sprint Focus deleted (
On Location Sprint)
Updated by Markus Klein over 6 years ago
- Parent task changed from #57377 to #72584