jumpserver/apps/assets/serializers
BaiJiangJie f235e20153 [Feature] 授权规则添加 actions 选项,控制用户对资产的操作行为 (#2610)
* [Feature] 1. perms actions - 添加 Action Model

* [Feature] 2. perms actions - 添加 Action API

* [Feature] 3. perms actions - 授权规则: 添加actions字段

* [Feature] 4. perms actions - 授权规则创建页面: 设置 actions 默认 all

* [Feature] 5. perms actions - 资产授权工具: 动态给system_user设置actions属性; 修改授权相关的API-serializer类: 添加actions字段值

* [Feature] 6. perms actions - 更新API(用户使用系统用户连接资产时权限校验): 添加actions校验

* [Feature] 7. perms actions - 迁移文件中为已经存在的perms添加默认的action

* [Feature] 8. perms actions - 创建授权规则时设置默认action(如果actions字段值为空)

* [Feature] 9. check actions - 修改校验用户资产权限API逻辑(添加actions校验)

* [Feature] 10. check actions - 修改注释

* [Feature] 11. check actions - 添加API: 获取用户指定资产和系统用户被授权的actions

* [Feature] 12. check actions - 添加翻译信息
2019-04-22 11:42:20 +08:00
..
__init__.py [Feature] 添加资产用户管理器 (#2489) 2019-03-18 10:15:33 +08:00
admin_user.py Bugfix (#2346) 2019-01-15 10:23:30 +08:00
asset.py [Update] Stash it (#2197) 2018-12-18 17:28:45 +08:00
asset_user.py [Feature] 添加资产用户管理器 (#2489) 2019-03-18 10:15:33 +08:00
base.py [Bugfix] 修复小bug 2018-03-28 14:35:27 +08:00
cmd_filter.py [Update] 支持命令过滤 2018-10-10 15:37:20 +08:00
domain.py [Update] 修改gateway test connection (#2135) 2018-12-10 13:03:02 +08:00
label.py [Feature] 更改perms api 2018-02-07 23:25:15 +08:00
node.py Bugfix (#2513) 2019-03-19 19:09:09 +08:00
system_user.py [Feature] 授权规则添加 actions 选项,控制用户对资产的操作行为 (#2610) 2019-04-22 11:42:20 +08:00