1
1
mirror of https://github.com/go-gitea/gitea synced 2024-06-28 14:15:49 +00:00
gitea/conf
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
..
gitignore add more gitignores 2015-07-09 19:46:42 +08:00
license New UI merge in progress 2014-07-26 00:24:27 -04:00
locale Set IsAdmin using LDAP 2015-08-18 23:49:12 -07:00
app.ini make cron task configurable 2015-08-18 02:19:29 +08:00
README Put default config into binary 2015-03-18 06:37:44 -04:00

Execute following command in ROOT directory when anything is changed:

$ go-bindata -o=modules/bindata/bindata.go -ignore="\\.DS_Store|README" -pkg=bindata conf/...

Add -debug flag to make life easier in development(somehow isn't working):

$ go-bindata -debug -o=modules/bindata/bindata.go -ignore="\\.DS_Store|README" -pkg=bindata conf/...