trabajo-afectivo/app/models/group.rb

25 lines
643 B
Ruby
Raw Normal View History

# Copyright (C) 2012-2021 Zammad Foundation, http://zammad-foundation.org/
class Group < ApplicationModel
include CanBeImported
include HasActivityStreamLog
include ChecksClientNotification
include ChecksCoreWorkflow
include ChecksHtmlSanitized
include ChecksLatestChangeObserved
include HasHistory
include HasObjectManagerAttributes
include HasCollectionUpdate
include HasTicketCreateScreenImpact
include HasSearchIndexBackend
belongs_to :email_address, optional: true
belongs_to :signature, optional: true
validates :name, presence: true
2013-09-29 16:40:42 +00:00
sanitized_html :note
activity_stream_permission 'admin.group'
end