From 8ae7134e5dcb3bed8c0a88234fcf8105dbdaeefd Mon Sep 17 00:00:00 2001 From: Aiden Foxx Date: Tue, 14 Jun 2022 20:38:43 +0200 Subject: [PATCH] Clarified DEFAULT_ROLE_ID for LDAP (#13893) * Clarified DEFAULT_ROLE_ID for LDAP * Update docs/configuration/config-options.md * Update docs/configuration/config-options.md --- docs/configuration/config-options.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/configuration/config-options.md b/docs/configuration/config-options.md index 8db4b8c5be..4e179c352d 100644 --- a/docs/configuration/config-options.md +++ b/docs/configuration/config-options.md @@ -618,7 +618,7 @@ For each auth provider you list, you must also provide the following configurati You may also be required to specify additional variables depending on the auth driver. See configuration details below. -::: warning Multiple Providers +::: tip Multiple Providers Directus users can only authenticate using the auth provider they are created with. It is not possible to authenticate with multiple providers for the same user. @@ -722,7 +722,7 @@ information and roles will be assigned from Active Directory. | `AUTH__GROUP_DN`[3] | Directory path containing groups. | -- | | `AUTH__GROUP_ATTRIBUTE` | Attribute to identify user as a member of a group. | `member` | | `AUTH__GROUP_SCOPE` | Scope of the group search, either `base`, `one`, `sub` [2]. | `one` | -| `AUTH__DEFAULT_ROLE_ID` | A Directus role ID to assign created users when `GROUP_DN` isn't configured. | -- | +| `AUTH__DEFAULT_ROLE_ID` | A fallback Directus role ID to assign created users. | -- | [1] The bind user must have permission to query users and groups to perform authentication. Anonymous binding can by achieved by setting an empty value for `BIND_DN` and `BIND_PASSWORD`. @@ -733,8 +733,8 @@ can by achieved by setting an empty value for `BIND_DN` and `BIND_PASSWORD`. - `one`: Searches all objects within the associated DN. - `sub`: Searches all objects and sub-objects within the associated DN. -[3] If a `GROUP_DN` is specified, the user's role will always be updated on authentication to what's -configured in AD. +[3] If `GROUP_DN` is specified, the user's role will always be updated on authentication to a matching +group configured in AD, or fallback to the `DEFAULT_ROLE_ID`. ### Example: LDAP