forked from Trustie/forgeplus
流水线节点支持普通用户管理
This commit is contained in:
parent
8348708c49
commit
f14ba00e04
|
|
@ -1,5 +1,5 @@
|
|||
class Action::NodeInputsController < ApplicationController
|
||||
before_action :require_admin, except: [:index]
|
||||
before_action :require_login, except: [:index]
|
||||
before_action :find_action_node
|
||||
|
||||
def index
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
class Action::NodeSelectsController < ApplicationController
|
||||
|
||||
before_action :require_admin, except: [:index]
|
||||
before_action :require_loginrequire_login, except: [:index]
|
||||
before_action :find_action_node
|
||||
|
||||
def index
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
class Action::NodeTypesController < ApplicationController
|
||||
before_action :require_admin, except: [:index]
|
||||
before_action :require_login, except: [:index]
|
||||
before_action :find_node_type, except: [:index, :create, :new]
|
||||
|
||||
def index
|
||||
|
|
|
|||
Loading…
Reference in New Issue