How can I set a default user group?
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.
0 votes
1 answers
2521 views
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
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: be sure to checkout the how to create an empty bundle" page): http://doc.nuxeo.com/display/NXDOC58/How+to+Contribute+a+Simple+Configuration+in+Nuxeo
04/03/2015
You can also simply put the xml extension in your templates/custom/config dir. It will be deployed under nxserver/config.
04/05/2015