0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-28 07:14:38 +01:00
gitea/routers/admin
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
..
admin.go
auths.go Set IsAdmin using LDAP 2015-08-18 23:49:12 -07:00
notice.go
orgs.go
repos.go
users.go