This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
Gitlink
/
forgeplus
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
16
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
fix bug
pull/347/head
呱呱呱
2 years ago
parent
468c5a3c41
commit
dd30341f6e
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
app/controllers/api/pm/issues_controller.rb
+ 1
- 1
app/controllers/api/pm/issues_controller.rb
View File
@@ -91,7 +91,7 @@ class Api::Pm::IssuesController < Api::Pm::BaseController
private
def check_issue_operate_permission
return if params[:project_id].zero?
return if params[:project_id].
to_i.
zero?
render_forbidden('您没有操作权限!') unless @project.member?(current_user) || current_user.admin? || @issue.user == current_user
end
def load_issues
Write
Preview
Loading…
Cancel
Save