Platform Explorer / Nuxeo Platform LTS 2015 7.10

Service org.nuxeo.ecm.platform.computedgroups.ComputedGroupsService

Documentation

This service provides the API to fetch virtual groups that are computed.

Computed groups are "virtual" because they are not directly editable via the UI and are not directly bound to a group definition in the underlying directories.

Computed groups are defined by a custom logic.

This service may be used by UserManager to associate users to virtual groups.

The underlying implementation of the service is pluggable so you can define your own rules and logic to compute groups.

Implementation

org.nuxeo.ecm.platform.computedgroups.ComputedGroupsService

Click for full Javadoc

Additional documentation

How To  
ComputedGroupsService

This service provides the API to fetch virtual groups that are computed.

Computed groups are "virtual" because they are not directly editable via the UI and are not directly bound to a group definition in the underlying directories.

Computed groups are defined by a custom logic.

This service may be used by UserManager to associate users to virtual groups.

The underlying implementation of the service is pluggable so you can define your own rules and logic to compute groups.

Activate the default GroupComputer sample

Default distribution includes a sample GroupComputer contribution.

So, by default in Nuxeo, there is a CompanyGroupComputer that will create a virtual group for each company.

The default configuration does not place this CompanyGroupComputer into a chain, so if you want to use this GroupComputer, you have to contribute a ComputerChain that includes it.

For this create a company-group-computer-config.xml file in the config dir.