Last modified by Eleni Cojocariu on 2026/11/17 17:14

Show last authors
1 A new account is added to the groups listed by the ##xwiki.users.initialGroups## property of the ##xwiki.cfg## [[configuration file>>doc:documentation.xs.admin.installation.configuration-files.WebHome]], whether it was created from the Administration, by a registration form or by an authenticator.
2
3 1. Stop the XWiki instance.
4 1. Open ##xwiki/WEB-INF/xwiki.cfg##, uncomment ##xwiki.users.initialGroups## and list the group Pages, separated by commas:(((
5 {{code language="none"}}
6 xwiki.users.initialGroups=XWiki.XWikiAllGroup, XWiki.DocWriters
7 {{/code}}
8 )))
9 1. Restart the XWiki instance, [[add a user>>doc:documentation.xs.admin.user.create.WebHome]], then open "Administration" > "Users & Rights" > "Groups" and find each group you listed:(((
10 {{image reference="initial-groups-list.png" size="extra" alt="The Groups administration section listing the group named in the configuration, with one member"/}}
11 )))
12 1. Click the group's "Edit" action and check that the new user is one of its members:(((
13 {{image reference="initial-groups-members.png" size="large" alt="The Edit group dialog, whose member list holds the user that was just created"/}}
14 )))

Get Connected