Peformance - Fixed missing ignored attributes for data privacy feature.
This commit is contained in:
parent
08ef240843
commit
3af0e35821
3 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue