This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
Repositories
Datasets
Forum
实训
竞赛
大数据
应用
Register
Sign In
OpenI
/
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
Merge pull request '修复游客查看云脑列表页面报错' (
#1042
) from fix-969 into V20211213
Reviewed-on:
https://git.openi.org.cn/OpenI/aiforge/pulls/1042
Reviewed-by: lewis <747342561@qq.com>
pull/1047/head
lewis
3 years ago
parent
b331a9846f
57781347b3
commit
522ddf9575
1 changed files
with
3 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
modules/cloudbrain/cloudbrain.go
+ 3
- 0
modules/cloudbrain/cloudbrain.go
View File
@@ -53,6 +53,9 @@ func CanDeleteTrainJob(ctx *context.Context, job *models.Cloudbrain) bool {
}
func CanCreateOrDebugJob(ctx *context.Context) bool {
if !ctx.IsSigned {
return false
}
return ctx.Repo.CanWrite(models.UnitTypeCloudBrain)
}
Write
Preview
Loading…
Cancel
Save