This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
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
Merge pull request 'fix download bug' (
#19
) from bug-fix into develop
Reviewed-by: berry <senluowanxiangt@gmail.com>
tags/vopendata0.1.2
berry
5 years ago
parent
9bd8f57218
6079806cf0
commit
61ac1f2bda
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
models/dataset_permission.go
+ 1
- 0
models/dataset_permission.go
View File
@@ -19,6 +19,7 @@ func GetUserDataSetPermission(dataSet *Dataset, user *User) (isPermit bool, err
if !user.IsAdmin && user.ID != dataSet.UserID {
log.Error("the user is not admin nor the owner of the data_set")
}
isPermit = true
case DatasetStatusPublic:
isPermit = true
default:
Write
Preview
Loading…
Cancel
Save