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 UI: create issue with title and content 2015-08-09 15:23:02 +08:00
ldap Set IsAdmin using LDAP 2015-08-18 23:49:12 -07:00
pam use pam and update TRANSLATORS 2015-07-14 19:47:20 +08:00
admin.go Add full name field to admin's user edit page (fixes #1130) 2015-04-28 11:59:05 -04:00
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 fix #1439 2015-08-05 10:16:21 +08:00
repo_form.go finish close/reopen issue 2015-08-13 23:21:43 +08:00
user_form.go new access token UI 2015-08-19 03:36:16 +08:00