Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Support for multiple groups in lists? #364

@dwasyl

Description

@dwasyl

I'm working to enable dynamic configuration for configuring multiple groups for AUTH_LDAP_USER_FLAGS_BY_GROUP and AUTH_LDAP_REQUIRE_GROUP.

In the case where multiple groups are allowed for is_active or REQUIRE_GROUP, they have to be joined as LDAPGroupQuery()| however, if reading a list of group names from os.environ there seems to be no way to do this (that I can find).

Would it be possible for, in addition to strings or LDAPGroupQuery() objects, for those same variables to accept a list of strings (perhaps with some sort of default AND/OR condition set)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions