cancel
Showing results for 
Search instead for 
Did you mean: 

How can I set a default user group?

bzahid_
Champ in-the-making
Champ in-the-making

How can I make it so that when an Admin or Power User clicks "Create User", the new user is automatically assigned to a group? I've been poking around the source and schema files for a while, and I'm not sure how to accomplish this.

4 REPLIES 4

Bauke_Roo
Star Contributor
Star Contributor

Hi

As far as I know it is possible by using this extension point:

<extension target="org.nuxeo.ecm.platform.usermanager.UserService" point="userManager">
    <userManager>
      <defaultAdministratorId>johndoe</defaultAdministratorId>
      <defaultGroup>members</defaultGroup>
    </userManager>
  </extension>

I got this information from: http://doc.nuxeo.com/display/ADMINDOC/Using+a+LDAP+Directory

Kind regards, Bauke

bzahid_
Champ in-the-making
Champ in-the-making

Thanks, but I can't figure out where to put that extension point...

You can user either Nuxeo Studio or Nuxeo IDE to add an extension. Nuxeo IDE is an extension for Eclipse. This site will help you to contribute your extension to Nuxeo using Nuxeo IDE (also

You can also simply put the xml extension in your templates/custom/config dir. It will be deployed under nxserver/config.