Project

General

Profile

Actions

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.

Status:
New
Priority:
Could have
Assignee:
-
Category:
Import/Export (T3D)
Target version:
-
Start date:
2015-07-16
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

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

Actions #1

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.

Actions #2

Updated by Anja Leichsenring almost 9 years ago

  • Sprint Focus set to On Location Sprint
Actions #3

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

Actions #4

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?

Actions #5

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

Actions #6

Updated by Nicole Cordes over 8 years ago

  • Sprint Focus deleted (On Location Sprint)
Actions #7

Updated by Riccardo De Contardi almost 7 years ago

  • Parent task set to #57377
Actions #8

Updated by Markus Klein over 6 years ago

  • Parent task changed from #57377 to #72584
Actions

Also available in: Atom PDF