1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-04 08:17:24 -05:00
gitea/modules
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
..
asn1-ber fixed panic error on user login 2015-03-25 15:39:36 +01:00
auth Set IsAdmin using LDAP 2015-08-18 23:49:12 -07:00
avatar remove sync.Pool and support go1.2 again 2015-08-09 12:06:08 +08:00
base Merge pull request #1475 from donbowman/master 2015-08-15 17:27:20 +08:00
bindata token recent activity 2015-08-19 06:22:33 +08:00
cron work on #986 and fix a LDAP crash 2015-08-18 04:03:11 +08:00
git list view: issue, label, milestone 2015-08-09 22:45:38 +08:00
httplib
identicon remove sync.Pool and support go1.2 again 2015-08-09 12:06:08 +08:00
ldap
log fix #864 with migration and update locale 2015-07-26 22:06:28 +08:00
mailer WIP: create PR - choose branch 2015-08-08 22:43:14 +08:00
middleware only assign auto-admin when sign up by web 2015-08-19 04:58:45 +08:00
process
setting make cron task configurable 2015-08-18 02:19:29 +08:00
social
ssh
uuid