mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 03:40:49 +08:00
前端修改及后端的权限修改
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
class VersionsController < ApplicationController
|
||||
before_action :require_login
|
||||
before_action :require_login, except: [:index, :show]
|
||||
before_action :find_project_with_id
|
||||
before_action :check_issue_permission, except: [:show, :index]
|
||||
before_action :set_version, only: [:edit, :update, :destroy, :show,:update_status]
|
||||
|
||||
Reference in New Issue
Block a user