diff --git a/app/models/organization.rb b/app/models/organization.rb index ea262abf6..dc9ce5f24 100644 --- a/app/models/organization.rb +++ b/app/models/organization.rb @@ -24,6 +24,8 @@ class Organization < ApplicationModel validates :name, presence: true validates :domain, presence: { message: 'required when Domain Based Assignment is enabled' }, if: :domain_assignment + association_attributes_ignored :tickets + activity_stream_permission 'admin.role' sanitized_html :note diff --git a/app/models/recent_view.rb b/app/models/recent_view.rb index 354f62cd4..af190aece 100644 --- a/app/models/recent_view.rb +++ b/app/models/recent_view.rb @@ -13,6 +13,8 @@ class RecentView < ApplicationModel after_update :notify_clients after_destroy :notify_clients + association_attributes_ignored :created_by + def self.log(object, o_id, user) return if !access(object, o_id, user) diff --git a/app/models/taskbar.rb b/app/models/taskbar.rb index 4d9940ef1..b693915eb 100644 --- a/app/models/taskbar.rb +++ b/app/models/taskbar.rb @@ -15,6 +15,8 @@ class Taskbar < ApplicationModel after_update :notify_clients after_destroy :update_preferences_infos, :notify_clients + association_attributes_ignored :user + client_notification_events_ignored :create, :update, :touch client_notification_send_to :user_id