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.
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.
10 years ago
..
cron work on #986 and fix a LDAP crash 10 years ago
migrations finish attachments when create issue 10 years ago
access.go WIP: create PR - choose branch 10 years ago
action.go finish close/reopen issue 10 years ago
admin.go
error.go finish view issue without comments and ops 10 years ago
git_diff.go
issue.go able sort issues 10 years ago
login.go Set IsAdmin using LDAP 10 years ago
models.go add migrate from issue.label_ids to issue_label 10 years ago
models_sqlite.go
oauth2.go WIP: create PR - choose branch 10 years ago
org.go WIP: create PR - choose branch 10 years ago
publickey.go remove empty line as per https://github.com/gogits/gogs/pull/1475 10 years ago
release.go
repo.go work on #986 and fix a LDAP crash 10 years ago
slack.go
token.go token recent activity 10 years ago
update.go WIP: create PR - choose branch 10 years ago
user.go only assign auto-admin when sign up by web 10 years ago
webhook.go