Commit Graph

47 Commits

Author SHA1 Message Date
simontigers 510ea5dc2d fix: code linter 2024-12-18 06:24:38 +00:00
pycook 95b55d2963 feat(api): set the default expire for redis lock 2024-12-09 19:50:04 +08:00
Zhuohao Li 48951ecd0a fix permission bug (#632)
不同的appid下可能有相同的resource type name.
2024-10-27 14:04:34 +08:00
pycook 766609ad89 fix(api): remote ip for login log 2024-09-10 11:41:35 +08:00
pycook 70bdd8f151 feat(api): acl supports channel 2024-09-09 15:28:20 +08:00
pycook 5e0e64861f perf(api): auto discovery has been upgraded (#559) 2024-06-20 20:30:04 +08:00
pycook fa737e75c3 feat: dynamic attribute (#534) 2024-06-07 10:29:32 +08:00
pycook b0e7748ad0 fix(acl): add relation 2024-05-30 09:33:30 +08:00
pycook a903738cdc Dev api 240517 (#511)
* fix(api): list values delete

* fix(acl): role rebuild cache
2024-05-17 11:20:53 +08:00
pycook 7d9ef229c2 feat(api): ci baseline rollback (#498) 2024-04-28 19:19:14 +08:00
pycook a7c3a0a072 fix(acl): del resource 2024-03-29 13:13:38 +08:00
rustrover 34204ec4c6 fix: some typos (#415)
Signed-off-by: gcmutator <329964069@qq.com>
Co-authored-by: gcmutator <329964069@qq.com>
2024-03-11 15:04:38 +08:00
pycook 60df081e49 fix(api): issule #412, unique value restrictions (#413) 2024-03-05 16:21:27 +08:00
pycook 5b3fb7ee32 feat(acl): login channel add ssh options (#396) 2024-02-21 18:10:44 +08:00
pycook 33f9f190e9 feat(api): i18n
feat(api): i18n
2023-12-25 21:51:44 +08:00
kdyq007 d0575331d5 [更新] 修复 LDAP 登录失败的问题 (#336)
Co-authored-by: sherlock <sherlock@gmail.com>
2023-12-25 09:36:31 +08:00
pycook a938477d85 fix(api): role grant 2023-12-23 12:30:52 +08:00
pycook 1da629b877 pref(api): import and export of CIType templates
pref(api): import and export of CIType templates
2023-12-22 14:32:03 +08:00
pycook 9afef06c54 fix(api): CAS authentication 2023-12-20 12:10:00 +08:00
pycook e597c2aee9 fix(api): oauth2.0 authentication 2023-12-19 13:07:21 +08:00
pycook 3a760c3a80 fix(api): ldap authentication 2023-12-19 00:16:56 +08:00
pycook 6aef26b82c pref(api): authentication and login log (#308)
* pref(api): authentication and login log

* feat(api): ldap and OAuth2.0
2023-12-14 19:53:08 +08:00
pycook 093065551b feat(api): support OAuth2.0 and OIDC authentication, it has been tested with casdoor
feat(api): support OAuth2.0 and OIDC authentication, it has been tested with casdoor
2023-12-12 20:29:57 +08:00
simontigers 86fbd62048 fix(api): Common create employee (#287)
* fix(api): add add_from arg in create employee

* fix(api): add check in acl call common after add user
2023-12-06 17:12:37 +08:00
pycook fb371a0d46 Dev api 231108 (#264)
* perf(api): commands add-user

* feat(api): add commands cmdb-agent-init
2023-11-09 11:32:54 +08:00
simontigers 9e180af9f4 fix: add_employee_from_acl (#225) 2023-10-24 14:20:40 +08:00
pycook 0ac14fa318 fix: acl cache 2023-10-23 13:57:06 +08:00
pycook bdd2adcfc2 Dev api 20231019 (#210)
* fix(acl): get resources

* fix(celery worker): db server has gone away
2023-10-19 11:51:34 +08:00
pycook ccce5c830a fix: delete user role 2023-10-09 15:40:18 +08:00
pycook 6e51e9ef4c import format 2023-09-02 12:09:41 +08:00
pycook 96187bcd47 fix merge conflict 2023-08-21 11:55:49 +08:00
pycook 1ba3f85f7e fix g.user 2023-08-21 11:54:33 +08:00
EvanSung d0d68c613b fix(acl): g user issue 2023-08-17 18:40:45 +08:00
pycook 1dae48c583 Delete user without soft delete 2023-08-16 13:00:30 +08:00
pycook 6843eb57c4 [update] delete roles, users, attributes 2023-08-15 19:47:59 +08:00
EvanSung 684c1ab924 optimize(auth): auth request json 2023-08-10 10:43:59 +08:00
pycook 7e38dd8fab upgrade celery 2023-08-08 13:16:07 +08:00
pycook ef09497d67 upgrade flask to 2.3.2 and replace g.user with current_user 2023-08-06 21:54:18 +08:00
songbing01249 cd11b002ee fix(trigger): session invalid issue 2023-08-02 18:22:42 +08:00
pycook db5ff60aff 前后端全面升级 2023-07-10 20:07:20 +08:00
pycook 6f7b0a3b76 add command: add-user | del-user 2020-06-11 21:37:41 +08:00
pycook 66476ed254 Fix the judgment of app admin 2020-04-07 18:02:26 +08:00
pycook ba2a6a65b5 auth with ldap 2020-04-01 20:30:44 +08:00
pycook 8ea0379a0d Fix: permission management 2020-03-13 10:30:21 +08:00
penzai 82c921bb88 auth: add user in flask.g when auth by jwt 2020-02-16 18:02:24 +08:00
pycook 87deba2e46 fix jwt decode 2020-02-06 09:59:24 +08:00
pycook 92183423df Modify code organization 2019-12-18 23:33:22 +09:00