Insufficient permissions for a workflow assigning - fixed
This commit is contained in:
parent
b562e25766
commit
c0b94372d1
@ -23,7 +23,7 @@ class DmsfWorkflowsController < ApplicationController
|
||||
before_filter :find_workflow, :except => [:create, :new, :index, :assign, :assignment]
|
||||
before_filter :find_project, :except => [:start]
|
||||
before_filter :authorize_global
|
||||
before_filter :authorize_custom
|
||||
before_filter :authorize_custom, :except => [:assignment, :start, :new_action]
|
||||
|
||||
def index
|
||||
if @project
|
||||
@ -293,4 +293,4 @@ private
|
||||
def authorize_custom
|
||||
require_admin unless @project
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user