Yaodong Yu
ea10f8e615
feat: make hard-coded authz adapter editable, rename adapter to ormer ( #2149 )
...
* refactor: rename casbinAdapter to casdoorAdapter
* feat: add initEnforcer
* fix: router
* refactor: make hard-coded code configurable
* fix: data type
* feat: support sqlite3
* feat: disable delete and edit name for built in resources
* feat: optimize code
* fix: init
* fix: e2e
* fix: remove datasourcename
* fix: revert rename
* refactor: change all ORM's Adatper to Ormer
* refactor: name
2023-07-29 15:07:04 +08:00
yehong
02e692a300
feat: return most backend API errors to frontend ( #1836 )
...
* feat: return most backend API errros to frontend
Signed-off-by: yehong <239859435@qq.com>
* refactor: reduce int type change
Signed-off-by: yehong <239859435@qq.com>
* feat: return err backend in token.go
Signed-off-by: yehong <239859435@qq.com>
---------
Signed-off-by: yehong <239859435@qq.com>
2023-05-30 15:49:39 +08:00
Yaodong Yu
65dcbd2236
feat: compatible different uid of LDAP server ( #1860 )
...
* feat: compatible different uid of LDAP server
* Update organization.go
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com>
2023-05-19 02:34:25 +08:00
Yaodong Yu
6455734807
fix: fix incorrect LDAP sync status ( #1859 )
2023-05-18 22:03:53 +08:00
Yaodong Yu
1b1de1dd01
feat: add LDAP custom filter support ( #1719 )
...
* refactor: improve ldap server code
* feat: custom filter
* fix: fix displayName mapping
* feat: add custom filter search fields
* chore: add license
* chore: i18n
* chore: i18n
* chore: update init field
2023-04-13 14:12:31 +08:00
Yaodong Yu
295a69c5f7
feat: support LDAP with SSL/TLS enabled ( #1655 )
2023-03-15 11:12:31 +08:00
Gucheng Wang
04709f731b
Update beego to v1.12.11
2022-09-29 19:45:17 +08:00
Mikey
79119760f2
style: golint ( #988 )
2022-08-09 16:50:49 +08:00
q1anx1
2ea58cd639
chore(style): use gofumpt
to fmt go code ( #967 )
2022-08-07 12:26:14 +08:00
Yixiang Zhao
c05fb77224
fix: set sync ldap user default attributes ( #721 )
...
* fix: set the password of the sync ldap user to empty
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
* fix: set sync ldap user default attributes
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
2022-04-29 21:44:13 +08:00
akkuman
0bc8c2d15f
fix: recover when goroutine panic that will kill main program ( #692 )
...
* fix #684
recover when goroutine panic that will kill main program
* Update util.go
Co-authored-by: Yang Luo <hsluoyz@qq.com>
2022-04-22 21:59:06 +08:00
Yixiang Zhao
4122c94205
feat: add pagination for LdapSyncPage and fix the bug Ldap auto-sync cannot disable ( #496 )
...
* feat: add pagination for LdapSyncPage
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
* fix: Ldap auto sync cannot disable
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
2022-02-15 23:03:53 +08:00
Товарищ программист
f43d01c5c2
feat: implement automatic synchronization for ldap users ( #371 )
...
Signed-off-by: Товарищ программист <2962928213@qq.com>
2021-12-15 17:45:11 +08:00