forgejo/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 make cron task configurable 2015-08-18 02:19:29 +08:00
auths.go Set IsAdmin using LDAP 2015-08-18 23:49:12 -07:00
notice.go Fix #532, add system notice 2014-10-08 18:29:18 -04:00
orgs.go Mirror fix on admin/orgs paging 2014-10-10 03:28:21 -04:00
repos.go Continue working on new admin pages 2014-08-29 20:50:43 +08:00
users.go WIP: create PR - choose branch 2015-08-08 22:43:14 +08:00