diff options
author | Sven Seeberg <sven@geeq.de> | 2022-02-11 15:24:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-11 22:24:58 +0800 |
commit | 832ce406aefed0cceb30d42d1435f425a9aba279 (patch) | |
tree | 7089998c621efe706fba829be9d6c31d97210ee7 /services/forms | |
parent | 26718a785ac49f17eab51ad0f5324d036b810f73 (diff) | |
download | gitea-832ce406aefed0cceb30d42d1435f425a9aba279.tar.gz gitea-832ce406aefed0cceb30d42d1435f425a9aba279.zip |
Add LDAP group sync to Teams, fixes #1395 (#16299)
* Add setting for a JSON that maps LDAP groups to Org Teams.
* Add log when removing or adding team members.
* Sync is being run on login and periodically.
* Existing group filter settings are reused.
* Adding and removing team members.
* Sync not existing LDAP group.
* Login with broken group map JSON.
Diffstat (limited to 'services/forms')
-rw-r--r-- | services/forms/auth_form.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/services/forms/auth_form.go b/services/forms/auth_form.go index d096292601..7e7c756752 100644 --- a/services/forms/auth_form.go +++ b/services/forms/auth_form.go @@ -79,6 +79,8 @@ type AuthenticationForm struct { SSPIStripDomainNames bool SSPISeparatorReplacement string `binding:"AlphaDashDot;MaxSize(5)"` SSPIDefaultLanguage string + GroupTeamMap string + GroupTeamMapRemoval bool } // Validate validates fields |