1
1
mirror of https://github.com/go-gitea/gitea.git synced 2024-10-01 06:11:56 +02:00
gitea/modules
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
..
asn1-ber
auth Set IsAdmin using LDAP 2015-08-18 23:49:12 -07:00
avatar
base
bindata token recent activity 2015-08-19 06:22:33 +08:00
cron work on #986 and fix a LDAP crash 2015-08-18 04:03:11 +08:00
git
httplib
identicon
ldap
log
mailer
middleware only assign auto-admin when sign up by web 2015-08-19 04:58:45 +08:00
process
setting make cron task configurable 2015-08-18 02:19:29 +08:00
social
ssh
uuid