Commit Graph

731 Commits

Author SHA1 Message Date
fit2bot
cb82b53791
perf: automation celery task (#9046)
Co-authored-by: feng <1304903146@qq.com>
2022-11-11 16:13:16 +08:00
ibuler
f6e403fd8b pref: 修改 asset permission 2022-11-11 15:04:31 +08:00
feng
3b4e388ed0 perf: gather account api adjustment 2022-11-09 15:42:21 +08:00
fit2bot
ce9ebd94ec
perf: change secret automation api (#9028)
Co-authored-by: feng <1304903146@qq.com>
2022-11-08 17:54:51 +08:00
Jiangjie.Bai
cd93de4c00 perf: 优化 Connection Token API 逻辑处理 2022-11-08 14:30:07 +08:00
feng
a13527c5c8 perf: platform charset 2022-11-07 19:17:02 +08:00
fit2bot
dca92a1e04
perf: push account (#9020)
Co-authored-by: feng <1304903146@qq.com>
2022-11-04 19:18:15 +08:00
jiangweidong
2029e9f8df
feat: 重构操作日志 (#8941)
* feat:重构操作日志模块

* feat: 改密计划增加操作日志记录

* feat: 支持操作日志接入ES,且接口limit支持自定义限制大小

* feat:翻译

* feat: 生成迁移文件

* feat: 优化迁移文件

* feat: 优化多对多日志记录

* feat: 命令存储ES部分和日志存储ES部分代码优化

* feat: 优化敏感字段脱敏

Co-authored-by: Jiangjie.Bai <bugatti_it@163.com>
2022-11-04 14:22:38 +08:00
ibuler
fbf65f437a merge: with merge remote 2022-11-04 11:43:34 +08:00
jiangweidong
262d070f3c feat: 支持纳管 clickhouse[Web Terminal] 2022-11-04 11:41:54 +08:00
feng
e995e3b35a perf: change secret adjustment 2022-11-04 11:09:56 +08:00
fit2bot
ebfc3b7b38
perf: change secret (#9014)
Co-authored-by: feng <1304903146@qq.com>
2022-11-03 22:39:48 +08:00
fit2bot
54f92e100e
perf: account backup (#9013)
Co-authored-by: feng <1304903146@qq.com>
2022-11-03 16:57:34 +08:00
ibuler
b0ae9b47ca pref: 修改 applet host 2022-11-03 16:55:38 +08:00
feng
7087d5a74e perf: account specific 2022-11-03 12:42:57 +08:00
feng
0fdc30bed3 perf: account 2022-11-02 20:36:40 +08:00
ibuler
0d2bfaa768 pref: 添加 applet host actions 2022-11-02 20:33:27 +08:00
fit2bot
697b3fb860
perf: 自动化按钮 (#9008)
Co-authored-by: feng <1304903146@qq.com>
2022-11-02 17:27:47 +08:00
feng
0e5ebfad1c perf: gather asset info and test asset connectivity 2022-11-01 19:37:50 +08:00
feng
8231f727c2 perf: history account 2022-11-01 15:04:13 +08:00
ibuler
cf81f08b7a perf: 优化部署 host 2022-11-01 11:52:51 +08:00
feng
121ba1df07 perf: automations push ping verify 2022-10-28 18:34:12 +08:00
feng
2355d1af83 perf: gather accounts 2022-10-27 18:53:10 +08:00
Jiangjie.Bai
a260da6cec refactor: 修改 ConnectionToken 关联的逻辑(1) 2022-10-27 15:47:05 +08:00
ibuler
e327c97170 pref: 修改迁移文件 2022-10-25 20:09:05 +08:00
Jiangjie.Bai
901270e6ad Merge branch 'v3' of github.com:jumpserver/jumpserver into v3 2022-10-25 18:45:33 +08:00
feng
4dd4c29e12 perf: gather facts 2022-10-25 18:43:34 +08:00
ibuler
1372d6322d perf: 合并代码 2022-10-22 11:37:51 +08:00
ibuler
943b130035 feat: 添加远程应用 2022-10-22 11:17:02 +08:00
feng
64daacce63 fix: 修复自动化修改密码bug 2022-10-21 18:19:09 +08:00
ibuler
168de45da5 pref: 优化 device api 2022-10-20 20:06:58 +08:00
ibuler
ef04e6ffcc Merge branch 'v3' of github.com:jumpserver/jumpserver into v3 2022-10-20 16:39:55 +08:00
ibuler
c55d3c0b6c perf: 添加 histories 2022-10-20 16:39:11 +08:00
feng
26278cc9e0 perf: change secret automation 2022-10-19 18:58:45 +08:00
ibuler
1a2193d091 perf: 资产 api 返回特有属性 2022-10-19 18:56:46 +08:00
ibuler
eb16e3c7cb perf: 修改翻译 2022-10-19 14:56:27 +08:00
ibuler
076afb2b8b pref: 修改 automations 2022-10-19 11:39:11 +08:00
ibuler
9b44ed55c2 pref: 修改 secret encrypt 2022-10-18 20:37:17 +08:00
fit2bot
33860bb955
fix: 修复资产详情 查看授权用户500问题 (#8963)
Co-authored-by: 小冯 <xiaofeng@xiaofengdeMacBook-Pro.local>
2022-10-18 10:51:51 +08:00
ibuler
4e8e4e4bb7 pref: 修改添加 gather facts 2022-10-14 19:40:51 +08:00
ibuler
75ec9d4173 perf: 添加 gather facts automation 2022-10-14 18:59:28 +08:00
Jiangjie.Bai
0e67739173 refactor: 授权添加授权账号工具,实现获取授权用户某个资产账号的功能 2022-10-14 17:01:36 +08:00
ibuler
8c91cd7eb6 perf: 修改改密 2022-10-13 17:47:29 +08:00
ibuler
85a6f29a0a perf: 修改 playbook 任务执行 2022-10-12 18:08:57 +08:00
ibuler
9a0bae5bfd perf: 修改 ansible 执行 2022-10-10 16:56:32 +08:00
ibuler
4e5a7a0a25 perf: 修改改密 2022-10-10 16:56:32 +08:00
ibuler
0fb4b52232 perf: 修改 ansible 表结构 2022-10-10 16:56:32 +08:00
ibuler
41589c5305 perf: 修改 ansible 2022-10-10 16:56:32 +08:00
Jiangjie.Bai
fae5d07df6 feat: 优化命令过滤器支持关联节点; 2022-10-09 19:53:34 +08:00
Jiangjie.Bai
df31f47c68 feat: 命令过滤器支持关联节点; 添加端点规则迁移文件 2022-10-09 19:01:11 +08:00
feng626
cd98ec4cac perf: account history record only secret 2022-10-09 17:52:41 +08:00
Jiangjie.Bai
351d3b297d fix: 修复用户授权资产账号API及Model处理逻辑 2022-09-28 18:40:33 +08:00
ibuler
72b0fb4274 perf: 修改 platform 支持设置 ansible 2022-09-26 18:03:48 +08:00
ibuler
f223cf43cc Merge branch 'v3' of github.com:jumpserver/jumpserver into v3 2022-09-23 19:00:09 +08:00
ibuler
234acd6317 perf: 修改 accounts 2022-09-23 18:59:19 +08:00
Jiangjie.Bai
399c6285f8 feat: 获取 用户、资产授权的所有账号API, 返回@INPUT、@USER等内部账号 2022-09-23 15:59:37 +08:00
ibuler
68ed3ac1a8 Merge branch 'v3' of github.com:jumpserver/jumpserver into v3 2022-09-22 15:25:12 +08:00
ibuler
cc859f302a perf: 优化 asset migrations 2022-09-22 15:24:32 +08:00
feng626
33948d614b perf: ip -> address 2022-09-22 15:14:55 +08:00
feng626
ffdb3f3b83 perf: ticket 2022-09-21 18:34:51 +08:00
ibuler
1b0195cb82 perf: 修改 asset 结构 2022-09-21 11:17:14 +08:00
ibuler
cf5c50b343 perf: 优化平台协议 2022-09-20 21:19:05 +08:00
ibuler
79ce1215f5 merge: with remote branch 2022-09-20 17:47:40 +08:00
feng626
615f36c6f6 perf: 收集账号 2022-09-20 16:18:23 +08:00
ibuler
8c72bab82d perf: 优化 account 结构 2022-09-20 13:54:25 +08:00
ibuler
5d48d1ab15 perf: stash it 2022-09-19 20:11:55 +08:00
ibuler
fa28bfc659 Merge branch 'v3' of github.com:jumpserver/jumpserver into v3 2022-09-19 09:55:41 +08:00
ibuler
b50d28ff9c perf: 暂存修改 2022-09-19 09:52:09 +08:00
feng626
389094f615 perf: 账号备份 2022-09-16 17:24:27 +08:00
ibuler
a86d5c1456 perf: 修改 models 2022-09-16 11:45:50 +08:00
ibuler
1d1b252e58 perf: 解决冲突 2022-09-15 21:23:00 +08:00
ibuler
9b2acfe4a4 perf: 优化平台 2022-09-15 21:20:56 +08:00
feng626
139540fafe perf: 修改change password linux ansible yaml 2022-09-15 19:53:26 +08:00
ibuler
e0e14a2fe1 Merge branch 'v3' of github.com:jumpserver/jumpserver into v3 2022-09-15 16:44:29 +08:00
ibuler
9edd786bb4 perf: 修改 platform 表结构 2022-09-15 16:22:01 +08:00
Jiangjie.Bai
572f03d844 Merge branch 'v3' of github.com:jumpserver/jumpserver into v3 2022-09-15 10:47:05 +08:00
Jiangjie.Bai
d23446016d refactor: 添加授权相关的获取资产账号API、Model method 2022-09-15 10:46:57 +08:00
ibuler
37bbf75f66 perf: 修改数据库迁移文件 2022-09-14 20:55:14 +08:00
ibuler
4fcbdfa3f4 perf: 优化 account 添加 name 2022-09-13 21:07:20 +08:00
ibuler
9a734e7069 perf: 修改结构 2022-09-13 14:06:25 +08:00
ibuler
6bf7f7cb48 perf: 修改 migrations 2022-09-09 19:17:25 +08:00
ibuler
f6fdc258b1 perf: 修改 playbook 目录结构 2022-09-09 15:47:40 +08:00
ibuler
894f153638 Merge branch 'v3' of github.com:jumpserver/jumpserver into v3 2022-09-09 11:00:18 +08:00
ibuler
aed7b32d6c perf: 修改 assets api 2022-09-09 11:00:09 +08:00
ibuler
25bded69ab perf: 修改平台和资产 2022-09-08 20:31:04 +08:00
Jiangjie.Bai
ca6b8ee960 Merge branch 'v3' of github.com:jumpserver/jumpserver into v3 2022-09-08 10:43:29 +08:00
ibuler
706488d293 Merge branch 'v3' of github.com:jumpserver/jumpserver into v3 2022-09-08 10:04:32 +08:00
ibuler
e9bb5223eb perf: 修改 platforms 2022-09-07 20:01:04 +08:00
feng626
b910180a12 自动化策略 表 2022-09-07 19:49:42 +08:00
Jiangjie.Bai
746c6e4242 fix: 修改资产、授权创建时的小问题 2022-09-07 18:33:34 +08:00
ibuler
56abf0da23 pref: 修改平台协议配置 2022-09-07 17:12:53 +08:00
ibuler
585ce6b46a perf: 修改表结构 2022-09-06 19:57:03 +08:00
ibuler
81219e1e7c pref: 添加各种 field 2022-09-01 17:42:48 +08:00
ibuler
d7d9fe2718 perf: 修改 model 2022-09-01 14:46:31 +08:00
ibuler
728dc43b6c perf: 修改 fields 支持 display choices 2022-08-31 10:06:16 +08:00
feng626
ca3d2271a8 merge v3 2022-08-29 19:53:04 +08:00
feng626
3e1c832964 账号备份 2022-08-29 19:49:45 +08:00
ibuler
5358f35c08 perf: 修改 host info 2022-08-29 10:49:53 +08:00
ibuler
063c42b94d perf: 修改 terminal session 2022-08-24 16:14:32 +08:00
ibuler
dca1388a67 perf: 修改依赖 2022-08-24 14:23:42 +08:00
ibuler
1e57a0eb1f perf: merge v3 2022-08-23 10:26:43 +08:00
ibuler
09607a1885 perf: 修改 perms 2022-08-22 18:32:33 +08:00
feng626
a7d193464e 添加 choices 获取 label方法 2022-08-22 11:47:45 +08:00
feng626
fe4df4b179 fix: 修复swagger 2022-08-19 19:01:26 +08:00
ibuler
05f913ab18 perf: 修改 platform 2022-08-18 17:58:59 +08:00
ibuler
2c3239e238 perf: 修改数据库 migrations 2022-08-18 11:15:17 +08:00
ibuler
3f47e63080 perf: remove system user 2022-08-17 11:54:18 +08:00
ibuler
85acd4b2ac perf: 修改 command filter 2022-08-16 11:09:30 +08:00
ibuler
31eadd3dc9 Merge branch 'v3' of github.com:jumpserver/jumpserver into v3
t po v3# 以 '#' 开始的行将被忽略,而空的提交说明将终止提交。
2022-08-15 18:45:56 +08:00
ibuler
0bf8878228 perf: 添加 token 2022-08-15 18:31:57 +08:00
feng626
a748f5d57d account template model 2022-08-11 17:39:44 +08:00
ibuler
d402ba5d92 perf: 修改资产名称 2022-08-11 15:45:03 +08:00
feng626
cfa5de13ab feat: 节点树搜索 2022-08-11 14:08:45 +08:00
ibuler
497204d777 perf: account remove protocol 2022-08-11 14:05:45 +08:00
ibuler
9d4a828c53 perf: 修改平台 2022-08-10 19:27:08 +08:00
feng626
a7c82f94cc perf: 修复接口文档 修复迁移文件 2022-08-08 19:18:45 +08:00
ibuler
8dfb8eeb75 perf: 修改权限 2022-08-05 18:31:57 +08:00
ibuler
6c57db0897 stash it 2022-08-04 10:44:11 +08:00
ibuler
d43acd8612 perf: v3 2022-08-03 16:21:34 +08:00
ibuler
65423ea893 perf: 优化migrations 2022-08-03 15:58:06 +08:00
ibuler
109db8886b perf: 还原回 model 2022-07-28 19:27:42 +08:00
ibuler
0dc3d43ee5 perf: 修改系统用户 2022-07-28 19:12:27 +08:00
ibuler
fb0fb71ea3 perf: 修改系统用户 2022-07-28 18:50:58 +08:00
ibuler
43d3791ddc stash 2022-07-27 16:51:39 +08:00
ibuler
d176ccde4b perf: stash 2022-07-20 16:52:01 +08:00
feng626
626b6da9c4 fix cmd为空时bug 2022-07-20 13:43:04 +08:00
ibuler
c9becca633 stash 2022-07-20 12:56:41 +08:00
ibuler
b961d1f9ee perf: 修改 accounts 2022-07-18 11:12:21 +08:00
ibuler
93a89509d6 perf: merge with dev 2022-07-17 14:28:55 +08:00
ibuler
fd94713583 Merge branch 'dev' into pr@dev@refactor_system_user_account 2022-07-17 14:17:18 +08:00
ibuler
8b188f020d perf: 修改备注 2022-07-17 14:17:16 +08:00
ibuler
008b18eced perf: 修改为账号模版 2022-07-17 13:57:13 +08:00
ibuler
0d46834fbf pref: 修改暂存 2022-07-15 18:57:52 +08:00
ibuler
29c9c6d680 perf: 优化 accounts 2022-07-15 18:03:32 +08:00
ibuler
d3c67d2f04 perf: 暂存一下 2022-07-14 10:56:09 +08:00
fit2bot
4a3d7a8524
perf: history account model queryset (#8588)
Co-authored-by: feng626 <1304903146@qq.com>
2022-07-13 17:13:02 +08:00
ibuler
dac0b44b99 perf: 优化重构 2022-07-13 16:36:49 +08:00
ibuler
e89765a9ad refactor: 重构系统用户 2022-07-12 10:54:23 +08:00
fit2bot
27cbbfbc79
refactor: 重构 Connection Token 模块 (完成获取 Super connection token API 逻辑) (#8559)
* refactor: 重构 Connection Token 模块 (完成 Model 设计和创建 Token 的API逻辑)

* refactor: 重构 Connection Token 模块 (完成获取 Token 详细信息的 API 逻辑)

* refactor: 重构 Connection Token 模块 (完成获取 RDP 文件 API 逻辑)

* refactor: 重构 Connection Token 模块 (完成获取 Client url API 逻辑)

* refactor: 重构 Connection Token 模块 (完成获取 Super connection token API 逻辑)

* refactor: 重构 Connection Token 模块 (完成删除原 Connection token 逻辑)

* refactor: 重构 Connection Token 模块 (完成删除原 Connection)

* refactor: 重构 Connection Token 模块 (完善序列类字段)

* refactor: 重构 Connection Token 模块 (完善expire API)

* refactor: 重构 Connection Token 模块 (完善迁移文件)

* refactor: 重构 Connection Token 模块 (完善翻译文件)

* refactor: 重构 Connection Token 模块 (拆分Connection ViewSet)

* refactor: 重构 Connection Token 模块 (修改翻译)

* refactor: 重构 Connection Token 模块 (优化)

Co-authored-by: Jiangjie.Bai <bugatti_it@163.com>
2022-07-11 18:09:06 +08:00
fit2bot
0aad0b7279
feat: 账号历史信息 (#8500)
* feat: 账号历史信息

* del app

Co-authored-by: feng626 <1304903146@qq.com>
2022-07-04 18:54:47 +08:00
fit2bot
067a90ff9a
fix: 修复工单数据库命令复合bug (#8511)
Co-authored-by: feng626 <1304903146@qq.com>
2022-06-30 11:17:12 +08:00
feng626
9388f37c39 fix: ticket bug 2022-06-23 18:35:53 +08:00
feng626
b264db3e7e fix: 修复工单迁移文件 2022-06-23 17:45:34 +08:00
fit2bot
7e2f81a418
perf: 重构 ticket (#8281)
* perf: 重构 ticket

* perf: 优化 tickets

* perf: 暂存

* perf: 建立 ticket model

* perf: 暂存一下

* perf: 修改 tickets

* perf: 修改 import

* perf: 修改model

* perf: 暂存一波

* perf: 修改...

* del process_map field

* 工单重构

* 资产 应用对接前端

* perf: 修改 ticket

* fix: bug

* 修改迁移文件

* 添加其他api

* 去掉process_map

* perf: 优化去掉 signal

* perf: 修改这里

* 修改一点

* perf: 修改工单

* perf: 修改状态

* perf: 修改工单流转

* step 状态切换

* perf: 修改 ticket open

* perf: 修改流程

* perf: stash it

* 改又改

* stash it

* perf: stash

* stash

* migrate

* perf migrate

* 调整一下

* 修复bug

* 修改一点

* 修改一点

* 优化一波

* perf: ticket migrations

Co-authored-by: ibuler <ibuler@qq.com>
Co-authored-by: feng626 <1304903146@qq.com>
2022-06-23 13:52:28 +08:00
Jiangjie.Bai
9d1e94d3c2 fix: 修复手动登录系统用户连接RemoteApp应用获取不到认证信息的问题 2022-06-10 18:35:39 +08:00
feng626
14710e9c9e feat: 工单审批人中去除申请人 2022-05-17 20:56:53 +08:00
jiangweidong
55e04e8e9f feat: 内置AIX系统,根据系统选择算法加密密码 2022-05-07 16:25:03 +08:00
jiangweidong
5e70a8af15 feat: 支持平台关联算法,支持AIX改密 2022-05-07 16:25:03 +08:00
fit2bot
031077c298
perf: password 等使用 rsa 加密传输 (#8188)
* perf: 修改 model fields 路径

* stash it

* pref: 统一加密方式,密码字段采用 rsa 加密

* pref: 临时密码使用 rsa

* perf: 去掉 debug msg

* perf: 去掉 Debug

* perf: 去掉 debug

* perf: 抽出来

Co-authored-by: ibuler <ibuler@qq.com>
2022-05-07 16:20:12 +08:00
ibuler
e53aa9696b perf: 修改 serializer 2022-05-05 16:18:05 +08:00
Jiangjie.Bai
2493647e5c fix: 修复windows执行ansible显示sudo失败的问题 2022-05-05 11:40:12 +08:00
ibuler
7025d46070 perf: 控制平台创建 2022-05-02 21:37:42 +08:00
ibuler
7e6964e0fc perf: 修改 platform 2022-04-30 23:19:43 +08:00
ibuler
ba0a017aa4 perf: 修改迁移 2022-04-28 12:47:39 +08:00
ibuler
0a2b2ad127 perf: 其他 asset model 2022-04-26 21:30:01 +08:00
ibuler
44d192cbe7 perf: stash 2022-04-26 11:24:08 +08:00
ibuler
54e772741b perf: 修改 base 2022-04-20 10:15:20 +08:00
ibuler
832228e184 stash 2022-04-19 15:30:56 +08:00
ibuler
9f927f9703 stash 2022-04-12 17:53:56 +08:00
fit2bot
f481463c64
feat: 添加Endpoint (#8041)
* feat: add Endpoint EndpointRule EndpointProtocol model

* feat: add Endpoint EndpointRule EndpointProtocol API

* feat: modify protocols field

* feat: 修改序列类

* feat: 获取connect-url连接地址

* feat: 获取connect-url连接地址

* feat: 优化后台获取smart-endpoint逻辑

* feat: 优化后台获取smart-endpoint逻辑

* feat: 删除配置KOKO、XRDP、MAGNUS

* feat: 删除配置KOKO、XRDP、MAGNUS

* feat: 修改翻译

* feat: 修改smart endpoint

* feat: 修改翻译

* feat: smart API 添加token解析

* feat: 删除 smart serializer

* feat: 修改迁移逻辑

* feat: 解决冲突

* feat: 修改匹配 endpoint

Co-authored-by: Jiangjie.Bai <bugatti_it@163.com>
2022-04-12 17:45:10 +08:00
fit2bot
7c7d7d52b2
perf: asset number 扩容 (#8045)
Co-authored-by: feng626 <1304903146@qq.com>
2022-04-12 14:01:57 +08:00
ibuler
d418c28e98 perf: 修改 base 2022-04-07 18:51:35 +08:00
ibuler
1b9efff6c7 perf: 添加 types 2022-04-06 18:14:51 +08:00
ibuler
ce13b194a5 perf: 修改 asset info 2022-04-06 11:29:16 +08:00
ibuler
3de881fa19 perf: 打算重构 asset application 2022-04-02 18:35:46 +08:00
Jiangjie.Bai
cddff9fd19 feat: 改密计划支持su切换用户执行
feat: 改密计划支持su切换用户执行

feat: 改密计划支持su切换用户执行

feat: 改密计划支持su切换用户执行

feat: 改密计划支持su切换用户执行

feat: 改密计划支持su切换用户执行

feat: 改密计划支持su切换用户执行
2022-03-29 15:32:33 +08:00
Jiangjie.Bai
6bde31cdd0 fix: 修复获取远程应用认证信息问题 2022-03-22 18:54:25 +08:00
Jiangjie.Bai
55a63477ed fix: 去除系统用户资产相关权限 2022-03-17 14:38:19 +08:00
Jiangjie.Bai
b017e68a56
Perf: 优化RBAC权限树 (#7782)
* fix: 优化权限树(1)

* fix: 优化权限树(2)

* fix: 优化权限树(3)

* fix: 优化权限树(4)

* fix: 优化权限树(5)

* fix: 优化权限树(添加迁移文件)

* fix: 优化权限树(6)

* fix: 优化权限树(7)

* fix: 优化权限树(8)

* fix: 优化权限树(9)
2022-03-10 11:25:33 +08:00
feng626
a1c1b128e9 fix: 修复relation_systemuser_perm问题 2022-03-07 14:53:38 +08:00
老广
3f9f9351f3
Fix rbac (#7737)
* perf: 修改 rbac role bingding

* fix: suggestion perm

* perf: 修改 requirements

* perf: 修改 rbac

* fix: auditor_perms

Co-authored-by: feng626 <1304903146@qq.com>
2022-03-04 10:16:21 +08:00
fit2bot
dafc416783
Fix rbac (#7728)
* perf: 重命名 signal handlers

* fix: 修复 ticket processor 问题

* perf: 修改 ticket 处理人api

* fix: 修复创建系统账号bug

* fix: 升级celery_beat==2.2.1和flower==1.0.0;修改celery进程启动参数先后顺序

* perf: 修改 authentication token

* fix: 修复上传权限bug

* fix: 登录页面增加i18n切换;

* fix: 系统角色删除限制

* perf: 修改一下 permissions tree

* perf: 生成 i18n

* perf: 修改一点点

Co-authored-by: ibuler <ibuler@qq.com>
Co-authored-by: feng626 <1304903146@qq.com>
Co-authored-by: Jiangjie.Bai <bugatti_it@163.com>
2022-03-02 20:48:43 +08:00
jiangweidong
ad2cb233d7
feat: 支持 MongoDB 数据库的纳管 (#7631) 2022-02-22 10:09:48 +08:00
Jiangjie.Bai
83ff8dbf26
fix: rbac 合并 (#7658)
* perf: 修复一些错误权限位

* Pr@fix rbac@fix rbac permissions (#7648)

* fix: 确保每次 migrate 执行更新 role permissions

* perf: 修改 choices

* feat: 兼容apple m1

* perf: 修改 migrations role permissions

* perf: pymysql 导入

* perf: admin 判断

* fix: 修复消息订阅权限

Co-authored-by: ibuler <ibuler@qq.com>
Co-authored-by: Aaron3S <chenyang@fit2cloud.com>
Co-authored-by: feng626 <1304903146@qq.com>
2022-02-21 16:24:03 +08:00
Jiangjie.Bai
783c163324 fix: 修复获取命令过滤规则时按照有组织的资源进行组织过滤 2022-02-19 11:44:03 +08:00
fit2bot
e259d2a9e9
fix: fix rbac to dev (#7636)
* feat: 添加 RBAC 应用模块

* feat: 添加 RBAC Model、API

* feat: 添加 RBAC Model、API 2

* feat: 添加 RBAC Model、API 3

* feat: 添加 RBAC Model、API 4

* feat: RBAC

* feat: RBAC

* feat: RBAC

* feat: RBAC

* feat: RBAC

* feat: RBAC 整理权限位

* feat: RBAC 整理权限位2

* feat: RBAC 整理权限位2

* feat: RBAC 整理权限位

* feat: RBAC 添加默认角色

* feat: RBAC 添加迁移文件;迁移用户角色->用户角色绑定

* feat: RBAC 添加迁移文件;迁移用户角色->用户角色绑定

* feat: RBAC 修改用户模块API

* feat: RBAC 添加组织模块迁移文件 & 修改组织模块API

* feat: RBAC 添加组织模块迁移文件 & 修改组织模块API

* feat: RBAC 修改用户角色属性的使用

* feat: RBAC No.1

* xxx

* perf: 暂存

* perf: ...

* perf(rbac): 添加 perms 到 profile serializer 中

* stash

* perf: 使用init

* perf: 修改migrations

* perf: rbac

* stash

* stash

* pref: 修改rbac

* stash it

* stash: 先去修复其他bug

* perf: 修改 role 添加 users

* pref: 修改 RBAC Model

* feat: 添加权限的 tree api

* stash: 暂存一下

* stash: 暂存一下

* perf: 修改 model verbose name

* feat: 添加model各种 verbose name

* perf: 生成 migrations

* perf: 优化权限位

* perf: 添加迁移脚本

* feat: 添加组织角色迁移

* perf: 添加迁移脚本

* stash

* perf: 添加migrateion

* perf: 暂存一下

* perf: 修改rbac

* perf: stash it

* fix: 迁移冲突

* fix: 迁移冲突

* perf: 暂存一下

* perf: 修改 rbac 逻辑

* stash: 暂存一下

* perf: 修改内置角色

* perf: 解决 root 组织的问题

* perf: stash it

* perf: 优化 rbac

* perf: 优化 rolebinding 处理

* perf: 完成用户离开组织的问题

* perf: 暂存一下

* perf: 修改翻译

* perf: 去掉了 IsSuperUser

* perf: IsAppUser 去掉完成

* perf: 修改 connection token 的权限

* perf: 去掉导入的问题

* perf: perms define 格式,修改 app 用户 的全新啊

* perf: 修改 permission

* perf: 去掉一些 org admin

* perf: 去掉部分 org admin

* perf: 再去掉点 org admin role

* perf: 再去掉部分 org admin

* perf: user 角色搜索

* perf: 去掉很多 js

* perf: 添加权限位

* perf: 修改权限

* perf: 去掉一个 todo

* merge: with dev

* fix: 修复冲突

Co-authored-by: Bai <bugatti_it@163.com>
Co-authored-by: Michael Bai <baijiangjie@gmail.com>
Co-authored-by: ibuler <ibuler@qq.com>
2022-02-17 20:13:31 +08:00
xinwen
333bb64b8b fix: Authbook 取认证信息bug 2022-02-10 11:20:40 +08:00
Michael Bai
6adeafd1d2 fix: 修复创建命令过滤规则失败的问题 2022-02-08 14:21:43 +08:00
Michael Bai
b3397c6aeb feat: 命令过滤规则增加忽略大小写选项 2022-02-08 12:31:15 +08:00
feng626
46270fd91c fix: authbook load asset queryset bug 2022-01-20 11:03:18 +08:00
feng626
9e47bf6ec5 fix: 批量命令bug 2022-01-19 19:34:32 +08:00
ibuler
89c7e514eb perf: 修复登录和推送系统用户是密码选择 2022-01-19 19:08:38 +08:00
feng626
83c5344307 fix: 获取命令规则过滤不准 2022-01-19 19:07:43 +08:00
fit2bot
def9bedd30
perf: 账号备份优化 (#7503)
* perf: 账号备份优化

* feat: 优化账号备份获取有序备份字段列表

Co-authored-by: feng626 <1304903146@qq.com>
Co-authored-by: Michael Bai <baijiangjie@gmail.com>
2022-01-17 15:58:39 +08:00
feng626
e5659a1d07 fix: 修复翻译及迁移文件 2022-01-12 20:55:58 +08:00
feng626
b0932e5137 feat: 逃生通道 2022-01-12 20:22:36 +08:00
jiangweidong
9b2e1e08d8 feat: 将redis_acl协议合并到redis协议中 2021-12-28 18:15:00 +08:00
jiangweidong
aaaa87dd60 feat: 增加数据库redis的纳管功能 2021-12-28 18:15:00 +08:00
Michael Bai
ac14790960 fix: 修改命令过滤规则动作允许值1->9 2021-12-15 14:57:44 +08:00
Michael Bai
4cbf6dd5e6 fix: 修复获取系统用户认证信息API 2021-12-14 19:12:22 +08:00
Michael Bai
bbf2aff96c feat: 命令过滤器支持多维度绑定
feat: 修改命令过滤规则校验

feat: 修改系统用户命令过滤器迁移文件
2021-12-09 19:06:28 +08:00
Michael Bai
d72aa34513 fix: 修改命令过滤规则生成正则表达式的逻辑,提高命令过滤准确性 2021-12-08 10:24:33 +08:00
ibuler
de006bc664 perf: 资产添加标签显示,更加易读
pref: 添加翻译
2021-11-29 14:57:50 +08:00
chenqiao
cb98b4f80a feat:新增对sqlserver数据库托管 2021-11-24 11:21:04 +08:00
ibuler
8761ed741c pref: 资产的硬件信息可以更改 2021-11-11 13:31:18 +08:00
Michael Bai
f9e970f4ed fix: 修改文案 切换用户 -> 用户切换 2021-11-05 16:41:45 +08:00
Jiangjie.Bai
07c60ca75d
feat: 支持二级登录资产 (#7143)
* feat: 支持su切换系统用户

* feat: 支持su切换系统用户

* feat: 支持su切换系统用户
2021-11-05 16:11:29 +08:00
Michael Bai
84326cc999 fix: 系统用户列表添加 应用数量 字段 2021-10-25 15:01:29 +08:00
Michael Bai
06de6c3575 fix: 修复资产系统用户auth-info获取流程及创建时手动登录方式的校验 2021-10-22 15:19:58 +08:00
halo
63b338085a feat: 修改username校验,telnet协议支持输入中文 2021-10-15 15:36:29 +08:00