forgejo/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.go token recent activity 2015-08-19 06:22:33 +08:00
auth_form.go Set IsAdmin using LDAP 2015-08-18 23:49:12 -07:00
org.go
repo_form.go
user_form.go new access token UI 2015-08-19 03:36:16 +08:00