app/models/foreman_tasks/task.rb in foreman-tasks-0.11.0 vs app/models/foreman_tasks/task.rb in foreman-tasks-0.11.1

- old
+ new

@@ -1,8 +1,8 @@ require 'securerandom' module ForemanTasks - class Task < ActiveRecord::Base + class Task < ApplicationRecord include Authorizable def check_permissions_after_save # there's no create_tasks permission, tasks are created as a result of internal actions, in such case we # don't do authorization, that should have been performed on wrapping action level