• BaiJiangJie's avatar
    [Feature] ssh、sftp 添加action权限校验(控制用户连接、上传、下载等操作) (#207) · 151537dc
    BaiJiangJie authored
    * [Feature] 1. check actions - 用户对资产进行操作(连接、上传、下载)之前,校验actions权限
    
    * [Feature] 2. check actions - 优化actions校验逻辑,按照download和upload分类,限制相关一系列操作
    
    * [Bugfix] 3. check actions - 修复luna上传目录时path join失败的bug, 优化actions校验逻辑
    
    * [Bugfix] 4. check actions - 修改小细节
    
    * [Feature] 5. check actions - 修改校验逻辑(从请求API校验修改为本地校验)
    151537dc
sftp.py 9.34 KB