[#5421] Add Assign Deliverable to Issue permission for the new/edit issue form
This commit is contained in:
1 parent
75680e5a49
commit
40fc6e9751
3 files changed
+33
-13
No files matched your search
@@ -1,4 +1,4 @@
|
||||
<% if project.module_enabled?(:contracts) %>
|
||||
<% if project.module_enabled?(:contracts) && User.current.allowed_to?(:assign_deliverable_to_issue, project) %>
|
||||
<p>
|
||||
<% options = project.contracts.inject([]) {|data, contract|
|
||||
data << [contract.name, contract.deliverables.collect {|d| [d.title, d.id]} ]
|
||||
|
||||
Reference in new issue
Block a user