add: operate permission and request timeout

This commit is contained in:
2022-05-12 11:12:34 +08:00
parent 3eccd6be64
commit 5d771c824b
2 changed files with 3 additions and 0 deletions

View File

@@ -1,7 +1,9 @@
class Traces::ProjectsController < Traces::BaseController
include OperateProjectAbilityAble
before_action :require_login
before_action :load_project
before_action :authorizate_user_can_edit_project!
def tasks
branch_name = params[:branch_name]