This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
wangwei
/
aiforge
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
128
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
fix-2208
tags/v1.22.6.1^2
liuzx
3 years ago
parent
77e8800abe
commit
25d99be2fc
1 changed files
with
4 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-0
routers/repo/dataset.go
+ 4
- 0
routers/repo/dataset.go
View File
@@ -622,6 +622,10 @@ func DatasetIsCollaborator(ctx *context.Context, dataset *models.Dataset) bool {
return true
}
}
isOwner, _ := models.IsOrganizationOwner(repo.OwnerID, ctx.User.ID)
if isOwner {
return isOwner
}
return false
}
}
Write
Preview
Loading…
Cancel
Save