trabajo-afectivo/app/models/group.rb

20 lines
538 B
Ruby
Raw Normal View History

2016-10-19 03:11:36 +00:00
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
class Group < ApplicationModel
include CanBeImported
include HasActivityStreamLog
include ChecksClientNotification
include ChecksLatestChangeObserved
include HasHistory
include HasObjectManagerAttributesValidation
include HasCollectionUpdate
include HasTicketCreateScreenImpact
belongs_to :email_address, optional: true
belongs_to :signature, optional: true
validates :name, presence: true
2013-09-29 16:40:42 +00:00
activity_stream_permission 'admin.group'
end