Skip to content

Commit

Permalink
docs: Update security docs to reflect LDAP casing issues (#2098)
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Vaz Gaspar <danielvazgaspar@gmail.com>
  • Loading branch information
andersbogsnes and dpgaspar committed Oct 24, 2023
1 parent 8203783 commit f591ee5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/security.rst
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,8 @@ You can limit the LDAP search scope by configuring::
# only allow users with memberOf="cn=myTeam,ou=teams,dc=example,dc=com"
AUTH_LDAP_SEARCH_FILTER = "(memberOf=cn=myTeam,ou=teams,dc=example,dc=com)"

You can give FlaskAppBuilder roles based on LDAP roles (note, this requires AUTH_LDAP_SEARCH to be set)::
You can give FlaskAppBuilder roles based on LDAP roles. (note, this requires AUTH_LDAP_SEARCH to be set)
While LDAP is not case-sensitive, FlaskAppBuilder is, so the cases need to match::

# a mapping from LDAP DN to a list of FAB roles
AUTH_ROLES_MAPPING = {
Expand Down

0 comments on commit f591ee5

Please sign in to comment.