diff options
Diffstat (limited to 'app/services/issuable_base_service.rb')
-rw-r--r-- | app/services/issuable_base_service.rb | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/app/services/issuable_base_service.rb b/app/services/issuable_base_service.rb index cb544eaf89b..f1ef5ca84fe 100644 --- a/app/services/issuable_base_service.rb +++ b/app/services/issuable_base_service.rb @@ -28,15 +28,9 @@ class IssuableBaseService < BaseService end def filter_params - unless can?(current_user, :set_milestone, project) + unless can?(current_user, :admin_issue, project) params.delete(:milestone_id) - end - - unless can?(current_user, :set_label, project) params.delete(:label_ids) - end - - unless can?(current_user, :set_assignee, project) params.delete(:assignee_id) end end |