0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-25 00:44:15 -05:00
forgejo/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 #634 2014-11-18 15:13:08 -05:00
identicon remove sync.Pool and support go1.2 again 2015-08-09 12:06:08 +08:00
ldap Fix spelling errors in comments. 2014-12-06 20:22:48 -05:00
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 New UI merge in progress 2014-07-26 00:24:27 -04:00
setting make cron task configurable 2015-08-18 02:19:29 +08:00
social fix #801 2014-12-31 18:37:29 +08:00
ssh more on change avatar 2014-11-21 12:51:36 -05:00
uuid