gitea/models
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
..
cron
migrations
access.go
action.go
admin.go Fix #532, add system notice 2014-10-08 18:29:18 -04:00
error.go finish view issue without comments and ops 2015-08-12 17:04:23 +08:00
git_diff.go
issue.go
login.go Set IsAdmin using LDAP 2015-08-18 23:49:12 -07:00
models_sqlite.go go vet 2014-04-13 03:14:43 -04:00
models.go add migrate from issue.label_ids to issue_label 2015-08-10 14:42:50 +08:00
oauth2.go
org.go WIP: create PR - choose branch 2015-08-08 22:43:14 +08:00
publickey.go
release.go
repo.go work on #986 and fix a LDAP crash 2015-08-18 04:03:11 +08:00
slack.go update slack hook to use new format 2014-10-24 08:56:12 -04:00
token.go
update.go
user.go only assign auto-admin when sign up by web 2015-08-19 04:58:45 +08:00
webhook.go #835: Realtime webhooks 2015-07-25 21:32:04 +08:00