Workflow enhancement: editable and required fields configurable by role, tracker and status (#703, #3521).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9977 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
1 parent
54d55a360a
commit
d7b669e50b
35 files changed
+1405
-431
No files matched your search
+2
-2
@@ -47,9 +47,9 @@ class Role < ActiveRecord::Base
|
||||
}
|
||||
|
||||
before_destroy :check_deletable
|
||||
has_many :workflows, :dependent => :delete_all do
|
||||
has_many :workflow_rules, :dependent => :delete_all do
|
||||
def copy(source_role)
|
||||
Workflow.copy(nil, source_role, nil, proxy_association.owner)
|
||||
WorkflowRule.copy(nil, source_role, nil, proxy_association.owner)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user