The can be configured to support the use of groups for users.
Limitations:
You must enable and configure one of the supported SSO integration methods.
Please review and set the following platform settings.
Steps:
Locate the following settings and apply values as needed:
Setting | Description | ||
---|---|---|---|
"feature.groups.enabled" | Set this value to true to enable use of LDAP groups in the platform. | ||
"feature.groups.mapping.groupName" | Set this value to the LDAP search result parameter containing the value to be used as the name of a group in the
| ||
"feature.groups.ldapServers" | (optional) An array of parameters, listing LDAP servers to use for synching of groups. If this parameter is not specified, then the LDAP server specified in the parameter webapp.ldap.server is used for synching. | ||
"feature.groups.defaultGroupFilters" | (optional) You must provide at least one search filter string to use to query the LDAP servers for groups. The following example searches for all groups named
If editing this parameter through
Notes: A search filter doesn't need to use the Each search filter must include parentheses at the beginning and the end. Each filter string is expected to return a single item. If the search results include multiple items, only the first item is used. If this value is empty, no groups are synched. |
All users must be created in the .
NOTE: The email address for the user in the |
Synching:
After the platform users and groups have been synched with the LDAP identity provider:
If an LDAP user has no corresponding user at the time of synching, the platform user is automatically added to the group and inherits the group's permissions when the account is created.
NOTE: If a |
You can use the following endpoint to sync the platform with the configured LDAP servers for their groups.
NOTE: This endpoint must be triggered using an admin account. |
Endpoint | http://www.example.com:3005/v4/groups/syncGroups | |
---|---|---|
Authentication | Required | |
Method | POST | |
Request Body | Empty. | |
Response Status Code | 200 - OK | |
Response Body | The response body contains the list of groups that have been added or removed based on the synching:
|
cURL example:
\
character indicates that the line continues on the following line.curl -X POST \ http://www.example.com:3005/v4/groups/syncGroups \ -H 'authorization: Basic <auth_token>' \ -H 'cache-control: no-cache' |