|
@@ -1107,7 +1107,7 @@ func MoveEdbClassify(req data_manage.MoveEdbClassifyReq, sysUser *system.Admin,
|
|
err = errors.New("获取分类信息失败,Err:" + err.Error())
|
|
err = errors.New("获取分类信息失败,Err:" + err.Error())
|
|
return
|
|
return
|
|
}
|
|
}
|
|
- if edbClassifyInfo.SysUserId != sysUser.AdminId {
|
|
|
|
|
|
+ if edbClassifyInfo.ClassifyType != utils.EdbClassifyTypeBase && edbClassifyInfo.SysUserId != sysUser.AdminId {
|
|
errMsg = "不是本人目录,您没有操作权限"
|
|
errMsg = "不是本人目录,您没有操作权限"
|
|
err = errors.New(errMsg)
|
|
err = errors.New(errMsg)
|
|
return
|
|
return
|