This issue has been created
 
 
Confluence / cid:jira-generated-image-avatar-0684d3bf-2aaa-4843-a149-335f894054e1 CONFLUENCE-364 Open

Import fails when importing admin users

 
View issue   ·   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-c87e2d16-4881-4980-9c94-594cea280f19 Raphaël Jakse created this issue on 09/Jan/25 13:22
 
Summary: Import fails when importing admin users
Issue Type: cid:jira-generated-image-avatar-0684d3bf-2aaa-4843-a149-335f894054e1 Bug
Affects Versions: 9.70.0
Assignee: Unassigned
Components: XML
Created: 09/Jan/25 13:22
Priority: cid:jira-generated-image-static-major-1aac5f78-2a65-421f-9e75-f7404eb4076c Major
Reporter: Raphaël Jakse
Description:

By default, we import users in the confluence admins group by outputting the XWiki.XWikiAdminGroup.

This fails because of a bug in the user output filter stream, but with this bug fixed, the XWiki.XWikiAdminGroup would be overwritten, which would remove current XWiki admin users, which is quite bad. This has probably never actually worked.

We would need XWIKI-22764 to be able to update the group instead. When we have this possibility, we should probably do this for all the imported groups (and maybe provide an option to overwrite non-admin groups, which would correspond to the current, unsafe, behavior for non admin groups).