@ -60,7 +60,7 @@ See COPYRIGHT and LICENSE files for more details.
<div class="form--field-container">
<%= angular_component_tag 'op-project-autocompleter',
inputs: {
# apiFilters: [['user_action', '=', ['work_packages/move']]],
apiFilters: [['user_action', '=', ['work_packages/move']]],
name: 'new_project_id',
},
id: 'new_project_id',
@ -155,7 +155,8 @@ OpenProject::AccessControl.map do |map|
wpt.permission :move_work_packages,
{ 'work_packages/moves': %i[new create] },
require: :loggedin,
dependencies: :view_work_packages
dependencies: :view_work_packages,
contract_actions: { work_packages: %i[move] }
wpt.permission :add_work_package_notes,
{