1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-23 09:04:26 +00:00
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 work on #986 and fix a LDAP crash 2015-08-18 04:03:11 +08:00
migrations finish attachments when create issue 2015-08-11 23:24:40 +08:00
access.go WIP: create PR - choose branch 2015-08-08 22:43:14 +08:00
action.go finish close/reopen issue 2015-08-13 23:21:43 +08:00
admin.go
error.go finish view issue without comments and ops 2015-08-12 17:04:23 +08:00
git_diff.go Partial impl of git diff encoding 2015-07-29 17:55:01 +03:00
issue.go able sort issues 2015-08-15 12:07:08 +08:00
login.go Set IsAdmin using LDAP 2015-08-18 23:49:12 -07:00
models_sqlite.go
models.go add migrate from issue.label_ids to issue_label 2015-08-10 14:42:50 +08:00
oauth2.go WIP: create PR - choose branch 2015-08-08 22:43:14 +08:00
org.go WIP: create PR - choose branch 2015-08-08 22:43:14 +08:00
publickey.go remove empty line as per https://github.com/gogits/gogs/pull/1475 2015-08-15 09:21:34 +00:00
release.go
repo.go work on #986 and fix a LDAP crash 2015-08-18 04:03:11 +08:00
slack.go
token.go token recent activity 2015-08-19 06:22:33 +08:00
update.go WIP: create PR - choose branch 2015-08-08 22:43:14 +08:00
user.go only assign auto-admin when sign up by web 2015-08-19 04:58:45 +08:00
webhook.go