Issue Feature Closed

#68202Add option to keep user/group permissons when importing pages

Axel Jindra 07/16/15, 09:42 updated 10/21/26, 18:50

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).

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

History 10

  1. Kevin Ditscheid commented <span data-processor="relativetime" data-value="2016-01-04T17:23:08+00:00" > 01/04/16, 17:23 </span>

    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.

  2. Georg Ringer commented <span data-processor="relativetime" data-value="2016-01-14T10:01:22+00:00" > 01/14/16, 10:01 </span>

    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

  3. Axel Jindra commented <span data-processor="relativetime" data-value="2016-01-14T13:22:21+00:00" > 01/14/16, 13:22 </span>

    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?

  4. Morton Jonuschat commented and changed tracker Bug Feature subject ImpExp perms_groupid lost Add option to keep user/group permissons when importing pages priority Should have Could have <span data-processor="relativetime" data-value="2016-01-16T14:37:32+00:00" > 01/16/16, 14:37 </span>

    Fun fact: The permissions have been reset since somewhere around TYPO3 3.6 or 3.7 – https://github.com/TYPO3/TYPO3.CMS/commit/548ce4b6d93c569ab214ed754772c746b7d59e33

  5. Georg Ringer commented and changed status New Closed <span data-processor="relativetime" data-value="2026-10-21T18:50:27+00:00" > 10/21/26, 18:50 </span>

    closing this issue as it is the same as in #85403 which is about permissions when copying the page. check the comment there for more information