You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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.
9 years ago
..
admin.go make cron task configurable 9 years ago
auths.go Set IsAdmin using LDAP 9 years ago
notice.go Fix #532, add system notice 10 years ago
orgs.go Mirror fix on admin/orgs paging 10 years ago
repos.go Continue working on new admin pages 10 years ago
users.go WIP: create PR - choose branch 9 years ago