0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-30 05:50:50 +01:00
gitea/modules/auth
Girish Ramakrishnan 24d7a86a8d Set IsAdmin using LDAP
The IsAdmin flag is set based on whether the admin filter
returned any result. The admin filter is applied with the user dn
as the search root.

In the future, we should update IsAdmin as well on each login.
Alternately, we can have a periodic sync operation.
2015-08-18 23:49:12 -07:00
..
apiv1
ldap Set IsAdmin using LDAP 2015-08-18 23:49:12 -07:00
pam
admin.go
auth_form.go Set IsAdmin using LDAP 2015-08-18 23:49:12 -07:00
auth.go token recent activity 2015-08-19 06:22:33 +08:00
org.go
repo_form.go finish close/reopen issue 2015-08-13 23:21:43 +08:00
user_form.go new access token UI 2015-08-19 03:36:16 +08:00