Skip to content

equivalent of AUTH_LDAP_GROUP_SEARCH  #259

@MikeEunLim

Description

@MikeEunLim

AUTH_LDAP_GROUP_SEARCH = LDAPSearch(
"OU=django,OU=Groups,DC=company,DC=local",
ldap.SCOPE_SUBTREE,
"(objectClass=group)",
)

AUTH_LDAP_USER_FLAGS_BY_GROUP = {
"is_active": "CN=django_active,OU=django,OU=Groups,DC=company,DC=local",
"is_staff": "CN=django_staff,OU=django,OU=Groups,DC=company,DC=local",
"is_superuser": "CN=django_superuser,OU=django,OU=Groups,DC=company,DC=local",
}

any example of auto assign "is_Staff" based on group?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions