forgejo-federation/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 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 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.go add migrate from issue.label_ids to issue_label 2015-08-10 14:42:50 +08:00
models_sqlite.go go vet 2014-04-13 03:14:43 -04: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 Huge updates!!!!! Be careful to merge!!!! 2014-07-26 02:28:04 -04:00
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 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 #835: Realtime webhooks 2015-07-25 21:32:04 +08:00