Skip to content

LDAP group filter (authentication source) it not recursive #16216

Open
@Saaha

Description

@Saaha
  • Gitea version (or commit ref): 1.14.2
  • Git version: 2.25.1
  • Operating system: Ubuntu 20.04.2 LTS, installed from deb package, running with systemctl
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
  • Log gist:
    No log.

Description

Hi,

It seems LDAP group filter (verify Group membership) in authentication sources, precisely the field Valid Groups Filter is not recursive. I have a group configured, but it does not valid the user if he is in a sub group below.

I suggest to add an option below to allow recursive search in all valid patterns if checked.

Screenshots

gitea_upgrade

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic/authenticationtype/featureCompletely new functionality. Can only be merged if feature freeze is not active.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions