You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/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.
9 years ago
..
cron work on #986 and fix a LDAP crash 9 years ago
migrations finish attachments when create issue 9 years ago
access.go WIP: create PR - choose branch 9 years ago
action.go finish close/reopen issue 9 years ago
admin.go Fix #532, add system notice 10 years ago
error.go finish view issue without comments and ops 9 years ago
git_diff.go Partial impl of git diff encoding 9 years ago
issue.go able sort issues 9 years ago
login.go Set IsAdmin using LDAP 9 years ago
models.go add migrate from issue.label_ids to issue_label 9 years ago
models_sqlite.go go vet 10 years ago
oauth2.go WIP: create PR - choose branch 9 years ago
org.go WIP: create PR - choose branch 9 years ago
publickey.go remove empty line as per https://github.com/gogits/gogs/pull/1475 9 years ago
release.go Huge updates!!!!! Be careful to merge!!!! 10 years ago
repo.go work on #986 and fix a LDAP crash 9 years ago
slack.go update slack hook to use new format 10 years ago
token.go token recent activity 9 years ago
update.go WIP: create PR - choose branch 9 years ago
user.go only assign auto-admin when sign up by web 9 years ago
webhook.go #835: Realtime webhooks 9 years ago