#1798 - Transfer Comcode ownership properly when importing
| Identifier | #1798 |
|---|---|
| Issue type | Feature request or suggestion |
| Title | Transfer Comcode ownership properly when importing |
| Status | Open |
| Handling member | Deleted |
| Addon | import |
| Description | Currently Comcode ownership goes to the user doing the importing. This can cause something of a problem if that user then is no longer having 'reuse attachments' permission, as attachments will stop showing up.
The ownership should carry over according to the user who owns the resource being imported OR even better the exact same owner it had in the source site (for an cms_merge import). |
| Steps to reproduce | |
| Funded? | No |
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".


Comments
UPDATE cms_translate t JOIN cms_f_posts p ON p.p_post=t.id SET t.source_user=p.p_poster,text_parsed='' WHERE t.source_user<>p.p_poster;
These approaches are not necessarily mutually-exclusive.