修复普通用户访问非自己创建的资产无法打开原生ssh的bug

This commit is contained in:
dushixiang
2021-05-16 17:32:21 +08:00
committed by dushixiang
parent f8c29b23b9
commit d33779ac34
5 changed files with 21 additions and 38 deletions

View File

@ -36,6 +36,7 @@ type AssetForPage struct {
Owner string `json:"owner"`
OwnerName string `json:"ownerName"`
SharerCount int64 `json:"sharerCount"`
SshMode string `json:"sshMode"`
}
func (r *Asset) TableName() string {